Skip to content
Open
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion lib/helper_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def read_SQL(SQL_file, runs):
chicago_timezone = pytz.timezone('America/Chicago')

# define daylight savings periods (THIS IS SO CONFUSING)
### Note: We have to upddate the dst_periods manually each year based on the Day Light Saving Time as per the Chicago Time Zone. ######
dst_periods = {
2021: (datetime(2021, 3, 14, 2, 0, 0), datetime(2021, 11, 7, 1, 0, 0)),
2022: (datetime(2022, 3, 13, 2, 0, 0), datetime(2022, 11, 6, 1, 0, 0)),
Expand Down Expand Up @@ -141,7 +142,7 @@ def read_SQL(SQL_file, runs):
runconfigs = [data['runconfig'] for data in run_data.values() if data['runconfig'] is not None]
unique_runconfigs = set(runconfigs)

beam_run_types = {39, 34, 3}
beam_run_types = {39, 34, 3, 45}

# Check for consistent run configurations: we dont want to process beam runs with the same grid resources
if len(unique_runconfigs) > 1:
Expand Down
4 changes: 2 additions & 2 deletions scripts/check_run_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@
# from run type name, get number
def get_run_type(run_type):
if run_type == 'beam':
return ['3', '34', '39']
return ['3', '34', '39', '45']
elif run_type == 'cosmic':
return ['7', '37']
elif run_type == 'LED':
return ['1', '35']
return ['1', '35', '46']
elif run_type == 'AmBe':
return ['4', '43', '42', '41', '36'] # TODO: check which ones are relevant
elif run_type == 'laser':
Expand Down