Skip to content

Commit

Permalink
Removed code that had been deleted in spacetelescope#8467
Browse files Browse the repository at this point in the history
  • Loading branch information
Timothy Brandt authored and Timothy Brandt committed Jul 4, 2024
1 parent b5df212 commit 71fd2bd
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions jwst/extract_1d/extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -3736,12 +3736,6 @@ def create_extraction(extract_ref_dict,
use_source_posn = False
log.info(f"Setting use_source_posn to False for source type {source_type}")

# Turn off use_source_posn if working on non-primary NRS fixed slits
if is_multiple_slits:
if exp_type == 'NRS_FIXEDSLIT' and slitname != slit.meta.instrument.fixed_slit:
use_source_posn = False
log.info("Can only compute source location for primary NIRSpec slit,")
log.info("so setting use_source_posn to False")

if photom_has_been_run:
pixel_solid_angle = meta_source.meta.photometry.pixelarea_steradians
Expand Down

0 comments on commit 71fd2bd

Please sign in to comment.