Skip to content

Commit

Permalink
Change list comprehension to list cast
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-fernandes committed Aug 13, 2024
1 parent dc75d8d commit fc76d98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mx_bluesky/bimorph_optimisation_plan/data_saver.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def make_csv(docs: list) -> str:

for doc in docs:
if "run_start" in doc and "data_keys" in doc:
headers = [header for header in doc["data_keys"]]
headers = list(doc["data_keys"])
headers.sort()
for header in headers:
csv_dict[header] = []
Expand Down

0 comments on commit fc76d98

Please sign in to comment.