Skip to content

Commit ebae3bf

Browse files
committed
Slight change of error message
1 parent 18e8d9c commit ebae3bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

torax/_src/imas_tools/input/core_profiles.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,8 @@ def _validate_ids_ions(
234234
if str(ion) not in constants.ION_PROPERTIES_DICT.keys():
235235
raise (
236236
KeyError(
237-
f"{ion} is present in the IDS but not a valid symbol of a TORAX"
238-
" ion. Check typing or add the ion to the excluded_impurities."
237+
f"{ion} is present in the IDS but not a valid TORAX ion. Check"
238+
"typing or add the ion to the excluded_impurities."
239239
)
240240
)
241241
# Check presence of main_ion_symbols in the IDS if not default value.

0 commit comments

Comments
 (0)