Skip to content
Snippets Groups Projects
Commit 4a029a6e authored by Laurent Mercadier's avatar Laurent Mercadier
Browse files

Fixed typo

parent ee69aac8
No related branches found
No related tags found
No related merge requests found
...@@ -636,7 +636,7 @@ def check_peak_params(run, key, raw_trace=None, ntrains=200, params=None, ...@@ -636,7 +636,7 @@ def check_peak_params(run, key, raw_trace=None, ntrains=200, params=None,
if not plot: if not plot:
return params return params
min_distance = 24 if "FastADC" in key else 440 min_distance = 24 if "FastADC" in key else 440
if bunchPattern != 'None': if bunchPattern == 'None':
bp_params = None bp_params = None
else: else:
if _mnemonics['bunchPatternTable']['source'] in run.all_sources: if _mnemonics['bunchPatternTable']['source'] in run.all_sources:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment