Skip to content

Commit

Permalink
better error message
Browse files Browse the repository at this point in the history
  • Loading branch information
RemDelaporteMathurin committed Nov 26, 2024
1 parent c97a696 commit 32f5e95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openmc_plasma_source/tokamak_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,5 +445,5 @@ def tokamak_neutron_source_density(
return ion_density * reac_DT(ion_temperature) # could use _DT_xs instead
else:
raise ValueError(
'Reaction {reaction} not in available options ["DD", "DT", "TT"]'
f'Reaction {reaction} not in available options ["DD", "DT", "TT"]'
)

0 comments on commit 32f5e95

Please sign in to comment.