File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -435,18 +435,18 @@ def _impacts_parser(self, data_obj):
435
435
footer = self ._get_footer (data_obj )
436
436
# Assign parsed data to attributes
437
437
# Change format to datetime and show in isoformat()
438
- arc_start = footer [1 ]['start' ].split ('.' )
438
+ arc_start = footer [1 ][0 ].split ('.' )
439
439
arc_start = datetime .strptime (arc_start [0 ], '%Y/%m/%d' ) + \
440
440
timedelta (float (arc_start [1 ])/ 1e3 )
441
441
self .arc_start = arc_start .isoformat ()
442
442
# Change format to datetime and show in isoformat()
443
- arc_end = footer [1 ]['end' ].split ('.' )
443
+ arc_end = footer [1 ][1 ].split ('.' )
444
444
arc_end = datetime .strptime (arc_end [0 ], '%Y/%m/%d' ) + \
445
445
timedelta (float (arc_end [1 ])/ 1e3 )
446
446
self .arc_end = arc_end .isoformat ()
447
- self .observation_accepted = int (footer [0 ]['total' ]) - \
448
- int (footer [0 ]['rejected' ])
449
- self .observation_rejected = int (footer [0 ]['rejected' ])
447
+ self .observation_accepted = int (footer [0 ][0 ]) - \
448
+ int (footer [0 ][1 ])
449
+ self .observation_rejected = int (footer [0 ][1 ])
450
450
self .computation = footer [2 ]
451
451
self .additional_note = footer [4 ]
452
452
# Assign info text from pandas
You can’t perform that action at this time.
0 commit comments