You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The problem occurs when the SkyPy pipeline tries to execute the skypy.galaxies.spectrum.kcorrect.stellar_mass function (line 18 in galaxies.yaml):
Got error NameError: name 'speclite' is not defined.
Expected behaviour
I would expect SkyPy to install all dependencies. However, since this is an optional package, I would expect to raise and ImportError.
@Lucia-Fonseca could you please add an explanation of how to reproduce the bug? Ideally a step by step including what skypy version you have installed, what python script / config files you used, the traceback and (how) were you able to resolve the error?
Describe the bug
The problem occurs when the SkyPy pipeline tries to execute the
skypy.galaxies.spectrum.kcorrect.stellar_mass
function (line 18 in galaxies.yaml):To Reproduce
SkyPy.pipeline.Pipeline
NameError: name 'speclite' is not defined
.Expected behaviour
I would expect SkyPy to install all dependencies. However, since this is an optional package, I would expect to raise and
ImportError
.System Details
macOS-11.2.1
Python 3.8.5 (default, Sep 4 2020, 02:22:02)
SkyPy 0.4
Solution
I installed the
speclite
packagepython3 -m pip install speclite
and the error disappeared.
The text was updated successfully, but these errors were encountered: