Skip to content

Commit

Permalink
Update test_jump.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hbushouse committed Jul 7, 2023
1 parent 6e37512 commit eb5255d
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions tests/test_jump.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,13 +264,16 @@ def test_inputjumpall():
assert (np.all(snowball_diff == 0))


#@pytest.mark.skip("Used for local testing")
@pytest.mark.skip("Used for local testing")
def test_inputjump_sat_star():
testcube = fits.getdata('data/input_gdq_flarge.fits')
num_extended_events = flag_large_events(testcube, DQFLAGS['JUMP_DET'], DQFLAGS['SATURATED'], min_sat_area=1,
min_jump_area=6,
expand_factor=2.0,
sat_required_snowball=True, min_sat_radius_extend=2.5, sat_expand=2)
num_extended_events = flag_large_events(testcube, DQFLAGS['JUMP_DET'], DQFLAGS['SATURATED'],

Check warning on line 270 in tests/test_jump.py

View check run for this annotation

Codecov / codecov/patch

tests/test_jump.py#L270

Added line #L270 was not covered by tests
min_sat_area=1,
min_jump_area=6,
expand_factor=2.0,
sat_required_snowball=True,
min_sat_radius_extend=2.5,
sat_expand=2)
assert(num_extended_events == 312)

Check warning on line 277 in tests/test_jump.py

View check run for this annotation

Codecov / codecov/patch

tests/test_jump.py#L277

Added line #L277 was not covered by tests
fits.writeto("outgdq2.fits", testcube, overwrite=True)

Expand Down

0 comments on commit eb5255d

Please sign in to comment.