Skip to content
Snippets Groups Projects
Commit 7c63afde authored by Rafael Gort's avatar Rafael Gort Committed by Martin Teichmann
Browse files

Fixed bug when processing module number 0

parent 000d0270
No related branches found
No related tags found
2 merge requests!98WIP: Separate digitizers from XGM, assign absolute pulse ID to XGM and digitizers data,!87Introduce package structure, generalized binning principle, ...
......@@ -196,7 +196,7 @@ class DSSCBinner:
log.info(f'Process {chunksize} trains per chunk')
mod_list = modules
if any(mod_list) is False:
if len(mod_list)==0:
mod_list = [i for i in range(16)]
n_jobs = len(mod_list)
......
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