Skip to content

Commit

Permalink
RCAL-693: Removed err array from dark tests. (#938)
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulHuwe authored Oct 17, 2023
1 parent 1c1d422 commit c5197ba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ associations

- Add FOV associations to the code [#931]

dark
----

- Removed ``err`` array from dark current tests. [#938]

general
-------

Expand Down
3 changes: 0 additions & 3 deletions romancal/dark_current/tests/test_dark.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,8 @@ def test_dark_step_interface(instrument, exptype):
assert result.data.shape == shape
assert result.groupdq.shape == shape
assert result.pixeldq.shape == shape[1:]
assert result.err.shape == shape
assert result.meta.cal_step.dark == "COMPLETE"
assert result.data.dtype == np.float32
assert result.err.dtype == np.float32
assert result.pixeldq.dtype == np.uint32
assert result.groupdq.dtype == np.uint8

Expand Down Expand Up @@ -126,7 +124,6 @@ def test_dark_step_output_dark_file(tmpdir, instrument, exptype):
assert dark_out_file_model.validate() is None
assert dark_out_file_model.data.shape == shape
assert dark_out_file_model.dq.shape == shape[1:]
assert dark_out_file_model.err.shape == shape


def create_ramp_and_dark(shape, instrument, exptype):
Expand Down

0 comments on commit c5197ba

Please sign in to comment.