diff --git a/cogsworth/sfh.py b/cogsworth/sfh.py index b9e7269..9080279 100644 --- a/cogsworth/sfh.py +++ b/cogsworth/sfh.py @@ -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)