Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.0
-
None
-
None
-
Ubuntu 16.04.2, Python 2.7
Description
When running the command
python2.7 start_oa.py -d 20170704 -t dns -l 3000
The Python script errors and dies with an exception about an invalid index around line 396:
df_new = pd.DataFrame([["{0}-{1}-{2} {3}:{4}".format(yr, mn, dy,val['frame_time'])…
After a bit of debugging, this fails because the date string is in the format "Jul 4 2017 12:36:31.413061000 UTC", which haves two spaces between the month and the date, so the item in index 3 is the year, not the time, and splitting it on ":" gives one item (not two), and so there is no item at index 1 for extracting the minutes from.
Attachments
Issue Links
- links to