Skip to content

Commit

Permalink
turn on progress bar
Browse files Browse the repository at this point in the history
  • Loading branch information
FaroutYLq committed Mar 29, 2024
1 parent d69b79d commit 7ccc788
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions jobs/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@
for d in storage_to_patch:
st.storage.append(strax.DataDirectory(d, readonly=True))

st.make(strrunid, 'raw_records_simu')
st.make(strrunid, 'raw_records_simu', progress_bar=True)
gc.collect()
for dt in to_process_dtypes:
print("Making %s. "%dt)
try:
st.make(strrunid, dt, save=(dt))
st.make(strrunid, dt, save=(dt), progress_bar=True)
print("Done with %s. "%dt)
except NotImplementedError as e:
print("The cut_basics for run %d is not implemented. "%runid)
Expand Down Expand Up @@ -100,7 +100,7 @@
for dt in to_process_dtypes:
print("Making %s. "%dt)
try:
st.make(strrunid, dt, save=(dt))
st.make(strrunid, dt, save=(dt), progress_bar=True)
print("Done with %s. "%dt)
except NotImplementedError as e:
print("The cut_basics for run %d is not implemented. "%runid)
Expand Down Expand Up @@ -133,13 +133,13 @@
print("Making %s. "%dt)

try:
st.make(strrunid, dt, save=(dt))
st.make(strrunid, dt, save=(dt), progress_bar=True)
print("Done with %s. "%dt)
except NotImplementedError as e:
print("The cut_basics for run %d is not implemented. "%runid)
gc.collect()
# Manually make pema plugin after
st.make(strrunid, 'match_acceptance_extended')
st.make(strrunid, 'match_acceptance_extended', progress_bar=True)

print("Used time:", datetime.now() - now)
now = datetime.now()
Expand Down

0 comments on commit 7ccc788

Please sign in to comment.