Skip to content

Commit

Permalink
Style change
Browse files Browse the repository at this point in the history
  • Loading branch information
drlaw1558 committed May 13, 2024
1 parent 4616035 commit 6c643b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jwst/extract_1d/ifu.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def ifu_extract1d(input_model, ref_dict, source_type, subtract_background,
b_var_poisson *= 0

# Deal with covariance in the IFU cube by multiplying 1d spectra errors by a scaling factor
if (extract_params['ifu_covar_scale'] != None):
if (extract_params['ifu_covar_scale'] is not None):
log.info("Applying ERR covariance prefactor of %g", extract_params['ifu_covar_scale'])
error *= extract_params['ifu_covar_scale']
sb_error *= extract_params['ifu_covar_scale']
Expand Down

0 comments on commit 6c643b4

Please sign in to comment.