Skip to content

Commit

Permalink
removing unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
emolter committed Jul 2, 2024
1 parent 5ec18f9 commit fd9b2f4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions jwst/master_background/master_background_mos_step.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Master Background Pipeline for applying Master Background to NIRSpec MOS data"""
from stpipe.step import preserve_step_pars
from jwst.stpipe import record_step_status, query_step_status
from jwst.stpipe import record_step_status

from stdatamodels.jwst import datamodels

Expand Down Expand Up @@ -108,8 +108,6 @@ def process(self, data):
# UNLESS forcing is enacted.
if not self.force_subtract and \
'COMPLETE' in [data_model.meta.cal_step.back_sub, data_model.meta.cal_step.master_background]:
#[query_step_status(data_model, "back_sub"), \
#query_step_status(data_model, "master_background")]:
self.log.info('Background subtraction has already occurred. Skipping.')
record_step_status(data, 'master_background', success=False)

Check warning on line 112 in jwst/master_background/master_background_mos_step.py

View check run for this annotation

Codecov / codecov/patch

jwst/master_background/master_background_mos_step.py#L112

Added line #L112 was not covered by tests
return data
Expand Down

0 comments on commit fd9b2f4

Please sign in to comment.