Skip to content

Commit

Permalink
Path.replace bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Sumit112192 committed Mar 9, 2024
1 parent 39c128a commit 01b3434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tardis/io/atom_data/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def resolve_atom_data_fname(fname):
)
return fpath

atom_data_name = fname.replace(".h5", "")
atom_data_name = str(fname).replace(".h5", "")

Check warning on line 38 in tardis/io/atom_data/util.py

View check run for this annotation

Codecov / codecov/patch

tardis/io/atom_data/util.py#L38

Added line #L38 was not covered by tests
atom_repo_config = get_atomic_repo_config()
if atom_data_name in atom_repo_config:
raise IOError(
Expand Down

0 comments on commit 01b3434

Please sign in to comment.