Skip to content

Commit

Permalink
Fix copy paste error
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexHls committed Nov 21, 2023
1 parent cb59070 commit abb7b69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tardis/model/parse_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,12 @@ def parse_abundance_section(config, atom_data, geometry):
assert (
abundance < 0.0
).sum().sum() == 0, (
"Abundances must be positive. Negative abundances found in csvy."
"Abundances must be positive. Negative abundances found."
)
assert (
isotope_abundance < 0.0
).sum().sum() == 0, (
"Isotope abundances must be positive. Negative abundances found csvy."
"Isotope abundances must be positive. Negative abundances found."
)

return isotope_abundance, abundance, elemental_mass

0 comments on commit abb7b69

Please sign in to comment.