Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions straxen/scripts/bootstrax.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@
# Patch for targeted (uncompressed) chunk size
straxen.Peaklets.chunk_target_size_mb = strax.DEFAULT_CHUNK_SIZE_MB
straxen.nVETOHitlets.chunk_target_size_mb = strax.DEFAULT_CHUNK_SIZE_MB
# Don't do the rechunk on load for raw_records and peaklets
# It's something we do for offline reprocessing
straxen.DAQReader.rechunk_on_load = False
straxen.Peaklets.rechunk_on_load = False

parser = argparse.ArgumentParser(description="XENONnT online processing manager")
parser.add_argument(
Expand Down Expand Up @@ -277,7 +281,7 @@
hostname = socket.getfqdn()

versions = straxen.print_versions(
modules="strax straxen utilix daqnt numpy tensorflow numba".split(),
modules="strax straxen utilix daqnt numpy numba".split(),
include_git=True,
return_string=True,
)
Expand Down Expand Up @@ -1369,7 +1373,14 @@ def st_make():
)
log.info(f"Making {run_id}-{targets}")
log.debug(f"With {strax_config}, n-cores {cores}")
st.make(run_id, targets, allow_multiple=True, config=strax_config, max_workers=cores)
st.make(
run_id,
targets,
allow_multiple=True,
config=strax_config,
max_workers=cores,
processor="threaded_mailbox",
)

if len(post_processing):
for post_target in post_processing:
Expand All @@ -1388,6 +1399,7 @@ def st_make():
config=strax_config,
progress_bar=True,
max_workers=cores,
processor="threaded_mailbox",
)
else:
log.info(f"Not making {post_target}, it is already stored")
Expand Down