Skip to content

Commit

Permalink
Fix deprecated warning
Browse files Browse the repository at this point in the history
  • Loading branch information
fmaguire committed Sep 26, 2022
1 parent 822165c commit e560d83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hAMRonization/summarize.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def format_interactive_json(combined_records):
grouped_data = combined_records.groupby(
["input_file_name", "config_display_name"]
).apply(lambda x: x.to_json(orient="records"))
for (input_file, config), hits in grouped_data.iteritems():
for (input_file, config), hits in grouped_data.items():
json_hits = json.loads(hits)
if input_file not in data_for_summary:
data_for_summary[input_file] = [{config: json_hits}]
Expand Down

0 comments on commit e560d83

Please sign in to comment.