Skip to content

Commit

Permalink
Merge pull request #1032 from spacetelescope/Model4PedigreeJWST
Browse files Browse the repository at this point in the history
MODEL was added to PEDIGREE verification for JWST.
  • Loading branch information
hbrown-ST committed Feb 22, 2024
2 parents 2d7e886 + b8e4e93 commit f5c8df7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
9 changes: 8 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
11.17.19 (2024-02-22)
=====================

JWST
----
-Added MODEL to be a PEDIGREE option for JWST. [#1032]

11.17.18 (2024-02-21)
=====================

JWST
----
-Added ner rmap for MIRI pars-emicorrstep. [#1030]
-Added new rmap for MIRI pars-emicorrstep. [#1030]

11.17.17 (2024-02-20)
=====================
Expand Down
6 changes: 3 additions & 3 deletions crds/certify/validators/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,9 +517,9 @@ def validate_date(self, date):
class JwstpedigreeValidator(PedigreeBaseValidator):
"""Validates &JWSTPEDIGREE fields."""

_values = ["INFLIGHT", "GROUND", "DUMMY", "SIMULATION"]
_values_wo_date = ["GROUND", "DUMMY", "SIMULATION"]
_values_w_date = ["INFLIGHT"]
_values = ["INFLIGHT", "GROUND", "MODEL", "DUMMY", "SIMULATION"]
_values_wo_date = ["GROUND", "MODEL", "DUMMY", "SIMULATION"]
_values_w_date = ["INFLIGHT", "MODEL"]
_dated_format = "INFLIGHT YYYY-MM-DD YYYY-MM-DD"

def validate_date(self, date):
Expand Down

0 comments on commit f5c8df7

Please sign in to comment.