Skip to content

Commit

Permalink
Merge pull request #914 from HERA-Team/fix_cleanargs
Browse files Browse the repository at this point in the history
fixed duplicate kwarg passing for tophat_frfilter_run.py
  • Loading branch information
aewallwi authored Sep 25, 2023
2 parents 54cfb9a + 85d5cb5 commit 102e14f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/tophat_frfilter_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
'edgecut_low': ap.edgecut_low, 'gain': ap.gain}
if ap.window == 'tukey':
filter_kwargs['alpha'] = ap.alpha
filter_kwargs['flag_model_rms_outliers'] = ap.flag_model_rms_outliers
elif ap.mode in ['dayenu', 'dpss_leastsq']:
filter_kwargs = {'max_contiguous_edge_flags': ap.max_contiguous_edge_flags}

Expand Down

0 comments on commit 102e14f

Please sign in to comment.