Skip to content

Commit

Permalink
updated warning text if wavelength is out of dust catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
mlietzow committed Aug 26, 2024
1 parent 8abca72 commit f6cb1a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miex_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def interp1d_log(xx, yy, kind="linear", fill_value=np.nan):
k_tmp = np.atleast_1d(k_tmp)

if wavelength[0] < w_tmp[0] or wavelength[-1] > w_tmp[-1]:
st.warning(f"Defined wavelength for {fnames[icomp].name} is out of the range of the dust catalog")
st.warning(f"Defined wavelength is out of the range of the dust catalog for {fnames[icomp].name}")

real_interp = interp1d_log(
w_tmp,
Expand Down

0 comments on commit f6cb1a4

Please sign in to comment.