Unable to run simple examples after installation under python 3.13
The error message is:
Traceback (most recent call last):
File "", line 1, in
s = Star(starname, ra, dec, g_id=gaia_id, dustmap='Bayestar')
File "/opt/anaconda3/envs/sed_ariadne/lib/python3.13/site-packages/astroARIADNE/star.py", line 290, in init
wave, flux, flux_er, bandpass = extract_info(
~~~~~~~~~~~~^
self.mags, self.mag_errs, self.filter_names)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/envs/sed_ariadne/lib/python3.13/site-packages/astroARIADNE/phot_utils.py", line 25, in extract_info
leff = get_effective_wavelength(band)
File "/opt/anaconda3/envs/sed_ariadne/lib/python3.13/site-packages/astroARIADNE/phot_utils.py", line 115, in get_effective_wavelength
leff = filt.cl.to('um').magnitude
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/envs/sed_ariadne/lib/python3.13/site-packages/astropy/units/quantity.py", line 1085, in getattr
raise AttributeError(
f"'{self.class.name}' object has no '{attr}' member"
)
AttributeError: 'Quantity' object has no 'magnitude' member
Unable to run simple examples after installation under python 3.13
The error message is:
Traceback (most recent call last):
File "", line 1, in
s = Star(starname, ra, dec, g_id=gaia_id, dustmap='Bayestar')
File "/
opt/anaconda3/envs/sed_ariadne/lib/python3.13/site-packages/astroARIADNE/star.py", line 290, in init/opt/anaconda3/envs/sed_ariadne/lib/python3.13/site-packages/astroARIADNE/phot_utils.py", line 25, in extract_infowave, flux, flux_er, bandpass = extract_info(
~~~~~~~~~~~~^
self.mags, self.mag_errs, self.filter_names)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "
leff = get_effective_wavelength(band)
File "
/opt/anaconda3/envs/sed_ariadne/lib/python3.13/site-packages/astroARIADNE/phot_utils.py", line 115, in get_effective_wavelength/opt/anaconda3/envs/sed_ariadne/lib/python3.13/site-packages/astropy/units/quantity.py", line 1085, in getattrleff = filt.cl.to('um').magnitude
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "
raise AttributeError(
f"'{self.class.name}' object has no '{attr}' member"
)
AttributeError: 'Quantity' object has no 'magnitude' member