Skip to content

Commit

Permalink
Fixing Black issue
Browse files Browse the repository at this point in the history
  • Loading branch information
DhruvSondhi committed Apr 26, 2021
1 parent f005e44 commit 34fe02c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tardis/io/model_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,7 @@ def read_uniform_abundances(abundances_section, no_of_shells):
abundances_section[element_symbol_string]
)
else:
raise ValueError(
f"Abundance Must Be A Positive Value"
)
raise ValueError(f"Abundance Must Be A Positive Value")
else:
mass_no = nucname.anum(element_symbol_string)
z = nucname.znum(element_symbol_string)
Expand All @@ -183,9 +181,7 @@ def read_uniform_abundances(abundances_section, no_of_shells):
abundances_section[element_symbol_string]
)
else:
raise ValueError(
f"Abundance Must Be A Positive Value"
)
raise ValueError(f"Abundance Must Be A Positive Value")

except RuntimeError as err:
raise RuntimeError(
Expand Down

0 comments on commit 34fe02c

Please sign in to comment.