Skip to content

Commit

Permalink
change how igoId is appended to the array
Browse files Browse the repository at this point in the history
  • Loading branch information
dmcmanam committed Sep 26, 2024
1 parent 4a69d46 commit 023fceb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/ont_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ def write_to_csv(sample_dict, file_name):
converted_sample_dict = {}
for key, values in sample_dict.items():
# Create a nested dictionary by zipping parameter names and values
converted_sample_dict[key] = dict(zip(parameter_names, values.append(key)))
values = values + (key,)
converted_sample_dict[key] = dict(zip(parameter_names, values))
print(converted_sample_dict)

# Write to LIMS endpoint with a GET:
Expand Down

0 comments on commit 023fceb

Please sign in to comment.