Skip to content

Commit

Permalink
args
Browse files Browse the repository at this point in the history
  • Loading branch information
Athanaseus committed Feb 26, 2025
1 parent 9c8e95d commit 8e73b63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rfinder/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def setArgs(self, kwargs):
self.cfg_par['plots']['plot_summary']['enable'] = True
if kwargs.get('plot_summary_axis'):
self.cfg_par['plots']['plot_summary']['axis'] = kwargs['plot_summary_axis']
if kwargs.get('--plot-summary-freq-bin'):
if kwargs.get('plot_summary_freq_bin'):
self.cfg_par['plots']['plot_summary']['freq_bin'] = kwargs['plot_summary_freq_bin']
if kwargs.get('plot_summary_report'):
self.cfg_par['plots']['plot_summary']['report'] = kwargs['plot_summary_report']
Expand All @@ -157,7 +157,7 @@ def setArgs(self, kwargs):
self.cfg_par['plots']['plot_summary']['enable'] = False
if kwargs.get('plot_summary_axis'):
self.cfg_par['plots']['plot_summary']['axis'] = kwargs['plot_summary_axis']
if kwargs.get('--plot-summary-freq-bin'):
if kwargs.get('plot_summary_freq_bin'):
self.cfg_par['plots']['plot_summary']['freq_bin'] = kwargs['plot_summary_freq_bin']
if kwargs.get('plot_summary_report'):
self.cfg_par['plots']['plot_summary']['report'] = kwargs['plot_summary_report']
Expand Down

0 comments on commit 8e73b63

Please sign in to comment.