Skip to content

Commit

Permalink
Merge branch 'main' into JP-3449
Browse files Browse the repository at this point in the history
  • Loading branch information
hbushouse authored Jan 24, 2024
2 parents 29992aa + cf23293 commit f6ac853
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 2 deletions.
9 changes: 8 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,14 @@ Other
-----

- Updated JWST core datamodel schema to include the new
TMEASURE keyword for measurement time. [#248]
``TMEASURE`` keyword for measurement time. [#248]

- Add ``ngroups`` keyword to JWST ``mask`` datamodel schema to match
parkeys on crds [#249]

- Added keywords ``noutputs`` and ``bunit`` to the JWST
readnoise and superbias datamodel schemas. [#250]


1.9.0 (2023-12-11)
==================
Expand Down
1 change: 1 addition & 0 deletions src/stdatamodels/jwst/datamodels/schemas/mask.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ allOf:
- $ref: keyword_exptype.schema
- $ref: keyword_readpatt.schema
- $ref: keyword_preadpatt.schema
- $ref: keyword_ngroups.schema
- type: object
properties:
dq:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ allOf:
- $ref: keyword_readpatt.schema
- $ref: keyword_preadpatt.schema
- $ref: keyword_gainfact.schema
- $ref: keyword_noutputs.schema
- $ref: bunit.schema
- type: object
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ allOf:
- $ref: keyword_readpatt.schema
- $ref: keyword_preadpatt.schema
- $ref: keyword_gainfact.schema
- $ref: keyword_noutputs.schema
- $ref: bunit.schema
- type: object
properties:
data:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def test_crds_selectors_vs_datamodel(jail_environ, instrument):
# No need to actually load the reference file into the datamodel!
with ref_model() as m:
for key in parkeys:
assert len(m.search_schema(key.lower())) > 0
assert len(m.search_schema(key.lower())) > 0, f"{f} missing {key} required by {r.basename}"
break
except IrrelevantReferenceTypeError as e:
log.debug(e)
Expand Down

0 comments on commit f6ac853

Please sign in to comment.