Skip to content

Commit

Permalink
slightly clearer warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jvshields committed Oct 14, 2024
1 parent 449c98e commit 3ddbdaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stardis/radiation_field/opacities/opacities_solvers/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def sigma_file(tracing_lambdas, temperatures, fpath, opacity_source=None):
) # Scaling from Stancil 1994 table
if np.any(sigmas == 0):
raise Warning(
"Outside of interpolation range for H2+ BF cross-sections in some part of the atmosphere. Assuming 0 opacity for these points."
"Outside of interpolation range for H2+ BF cross-sections in some part of the atmosphere. Assuming 0 opacity from H2+ BF for these points."
)
elif (
opacity_source == "Hminus_ff"
Expand Down Expand Up @@ -83,7 +83,7 @@ def sigma_file(tracing_lambdas, temperatures, fpath, opacity_source=None):
)
if np.any(sigmas == 0):
raise Warning(
"Outside of interpolation range for H- FF cross-sections in some part of the atmosphere. Assuming 0 opacity for these points."
"Outside of interpolation range for H- FF cross-sections in some part of the atmosphere. Assuming 0 opacity from H-FF for these points."
)

elif (
Expand Down

0 comments on commit 3ddbdaa

Please sign in to comment.