Skip to content

Commit

Permalink
Allow caching 'red' run folders to scratch
Browse files Browse the repository at this point in the history
  • Loading branch information
takluyver committed Aug 28, 2024
1 parent 201b0f5 commit c3f15c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extra_data/run_files_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ def map_paths_for_run(self, directory):
# /gpfs/exfel/exp/inst/cycle/prop/(raw|proc)/run
maxwell_match = re.match(
# raw/proc instr cycle prop run
r'.+/(raw|proc)/(\w+)/(\w+)/(p\d+)/(r\d+)/?$',
r'.+/(raw|proc|red)/(\w+)/(\w+)/(p\d+)/(r\d+)/?$',
os.path.realpath(directory)
)
online_match = re.match(
# instr cycle prop raw/proc run
r'^.+/(\w+)/(\w+)/(p\d+)/(raw|proc)/(r\d+)/?$',
r'^.+/(\w+)/(\w+)/(p\d+)/(raw|proc|red)/(r\d+)/?$',
os.path.realpath(directory)
)

Expand Down

0 comments on commit c3f15c7

Please sign in to comment.