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
Some spectral types are not found in the name column because trailing whitespaces are not stripped upon loading the table.
import pyckles
pickles = pyckles.SpectralLibrary("pickles", return_style="synphot")
"M25V" in pickles.table["name"] # returns False
"M25V " in pickles.table["name"] # returns True
This leads to an AttributeError when trying to access via pickles["M25V"]. This issue not only exists for "M25V", but also for a number of classes ending in "_R" and "_W".
The text was updated successfully, but these errors were encountered:
Some spectral types are not found in the
name
column because trailing whitespaces are not stripped upon loading the table.This leads to an
AttributeError
when trying to access viapickles["M25V"]
. This issue not only exists for"M25V"
, but also for a number of classes ending in"_R"
and"_W"
.The text was updated successfully, but these errors were encountered: