From 34fe02c985c895066b5cf5f4ed6168c8978f47fe Mon Sep 17 00:00:00 2001 From: DhruvSondhi Date: Mon, 26 Apr 2021 19:37:59 +0530 Subject: [PATCH] Fixing Black issue --- tardis/io/model_reader.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tardis/io/model_reader.py b/tardis/io/model_reader.py index 66253131d03..ec76fd3712b 100644 --- a/tardis/io/model_reader.py +++ b/tardis/io/model_reader.py @@ -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) @@ -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(