Skip to content

Commit

Permalink
Update io.py
Browse files Browse the repository at this point in the history
  • Loading branch information
PythonFZ committed Jun 26, 2024
1 parent daa2140 commit 78b84b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion znh5md/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def _set_particle_group(self):
def _read_author_creator(self):
with contextlib.suppress(FileNotFoundError, KeyError):
# FileNotFoundError if the filename does not exist
# KeyError if the file has not yet been initalized as H5MD
# KeyError if the file has not yet been initialized as H5MD
# or the keys are not provided, which is officially
# not allowed in H5MD.
with _open_file(self.filename, self.file_handle, mode="r") as f:
Expand Down

0 comments on commit 78b84b2

Please sign in to comment.