Skip to content

Commit 0fb10a3

Browse files
committed
Fix for ref names in extract params default
1 parent 0eed7c2 commit 0fb10a3

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

jwst/extract_1d/extract.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@ def get_extract_parameters(ref_dict, input_model, slitname, sp_order, meta,
246246
extract_params['subtract_background'] = False
247247
extract_params['extraction_type'] = 'box'
248248
extract_params['use_source_posn'] = False # no source position correction
249-
extract_params['specwcs_ref_name'] = 'N/A'
250-
extract_params['psf_ref_name'] = 'N/A'
249+
extract_params['specwcs'] = 'N/A'
250+
extract_params['psf'] = 'N/A'
251251
extract_params['position_correction'] = 0
252252
extract_params['independent_var'] = 'pixel'
253253
# Note that extract_params['dispaxis'] is not assigned.

jwst/extract_1d/tests/test_extract.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ def extract_defaults():
5959
'xstart': 0,
6060
'xstop': 49,
6161
'ystart': 0,
62-
'ystop': 49}
62+
'ystop': 49,
63+
'psf': 'N/A',
64+
'specwcs': 'N/A'}
6365
return default
6466

6567

0 commit comments

Comments
 (0)