Closed hangqianjun closed 1 year ago
renameDict is meant to be a shared parameter between photErr and ObsCondition. The problem is ObsCondition checks whether the input is in photErr via
renameDict
from photerr import LsstErrorParams from dataclasses import fields lsst_error_model_keys = [field.name for field in fields(LsstErrorParams)]
but renameDict is not in lsst_error_model_keys.
lsst_error_model_keys
Solution: add renameDict in lsst_error_model_keys after calling the above lines.
Will be included in #16
renameDict
is meant to be a shared parameter between photErr and ObsCondition. The problem is ObsCondition checks whether the input is in photErr viabut
renameDict
is not inlsst_error_model_keys
.Solution: add
renameDict
inlsst_error_model_keys
after calling the above lines.