Skip to content

Commit

Permalink
Changes to casa test following review
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonah Wagenveld committed May 19, 2020
1 parent 2050ccc commit ff6d9f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion regions/io/crtf/new_casa_tests/casa_mask_test.py
Expand Up @@ -79,8 +79,9 @@ def test_casa_masking():
ia = image()
ia.open(tmpdir+'/SIM.mask')
mask_array = ia.getregion()
ia.close()

with open('data/binary_mask.pkl', 'rb') as f:
ref_mask = pickle.load(f)

assert mask_array == ref_mask
assert all(mask_array == ref_mask)

0 comments on commit ff6d9f7

Please sign in to comment.