Skip to content

Commit

Permalink
Fix dictionary lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
Myoldmopar committed Nov 8, 2021
1 parent 8bd1a77 commit 82c74c0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion epregressions/structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,10 @@ def to_json_summary(self, json_file_path=None):
'textual': [x for x in self.text_diffs.descriptions.keys()],
},
'results_by_file': [entry.to_dict() for entry in self.entries_by_file],
'extra': {'start_time': self.extra.descriptions[0], 'end_time': self.extra.descriptions[1]}
'extra': {
'start_time': self.extra.descriptions['time_stamps'][0],
'end_time': self.extra.descriptions['time_stamps'][1]
}
}
if json_file_path:
output_string = json.dumps(output_data, indent=2)
Expand Down

0 comments on commit 82c74c0

Please sign in to comment.