Skip to content

Commit

Permalink
Fixed error message for rate calculation when sp file is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
Lilachn91 committed Oct 25, 2023
1 parent d565c8c commit b895514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arc/statmech/arkane.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ def generate_arkane_species_file(self,
if not os.path.isfile(freq_path):
return_none_text = f'the freq file in path {freq_path}'
if not os.path.isfile(sp_path):
return_none_text = f'the freq file in path {sp_path}'
return_none_text = f'the sp file in path {sp_path}'

Check warning on line 543 in arc/statmech/arkane.py

View check run for this annotation

Codecov / codecov/patch

arc/statmech/arkane.py#L543

Added line #L543 was not covered by tests
if return_none_text is not None:
logger.error(f'Could not find {return_none_text} for species {species.label}. Not calculating properties.')
return None
Expand Down

0 comments on commit b895514

Please sign in to comment.