Skip to content

Commit b8eafc7

Browse files
committed
remove Step.__call__ use in calwebb_spec2
1 parent f13fc1d commit b8eafc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jwst/pipeline/calwebb_spec2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ def process_exposure_product(
391391
self.log.warning("Extract_1d did not return a DataModel - skipping photom.")
392392
else:
393393
self.photom.save_results = self.save_results
394-
x1d = self.photom(x1d)
394+
x1d = self.photom.run(x1d)
395395
elif exp_type == 'NRS_MSASPEC':
396396
# Special handling for MSA spectra, to handle mixed-in
397397
# fixed slits separately

0 commit comments

Comments
 (0)