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
@jdavies-st this might stem from spacetelescope/jwst#5695 Do you recall if this schema was intended only for test use or was the plan to use it to validate step configs (that contain metadata)?
The text was updated successfully, but these errors were encountered:
Yes, the intent was to use it to validate step config files, i.e. pars- reffiles. Note that we used to have a datamodel called StepParsModel back when jwststdatamodels and stpipe were all one package. When we peeled them all apart, we had to make it so that stpipe did not depend on stdatamodels, and hence StepParsModel had to go.
And since it also validated metadata, the idea was that we needed a pure ASDF schema to do the same.
The eventual goal was to completely move away from ConfigObj as a core component of stpipe and its configuration, and this was a step in that direction.
How do people create pars-* reffiles these days? Just copy an old one? I suspect if they have metadata, they should be validated against this schema.
https://github.com/spacetelescope/stpipe/blob/main/src/stpipe/resources/schemas/step_config_with_metadata-1.0.0.yaml
Is unused in
stpipe
.One use exists in the following
jwst
test:https://github.com/spacetelescope/jwst/blob/master/jwst/stpipe/tests/test_config.py#L38
I suspect that the schema was intended to be used in:
stpipe/src/stpipe/config.py
Line 93 in d20b642
and
stpipe/src/stpipe/config.py
Line 129 in d20b642
@jdavies-st this might stem from spacetelescope/jwst#5695 Do you recall if this schema was intended only for test use or was the plan to use it to validate step configs (that contain metadata)?
The text was updated successfully, but these errors were encountered: