Skip to content

Commit

Permalink
fix hyphen typo
Browse files Browse the repository at this point in the history
  • Loading branch information
TomWagg committed Apr 18, 2024
1 parent 9b663a8 commit c139788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogsworth/sfh.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ def save(self, file_name, key="sfh"):

# dump it all into the file attrs using yaml
with h5.File(file_name, "a") as file:
file.attrs["cogsworth-f-type"] = "SFH"
file.attrs["cogsworth_f_type"] = "SFH"
file[key].attrs["params"] = yaml.dump(params, default_flow_style=None)


Expand Down

0 comments on commit c139788

Please sign in to comment.