Skip to content

Commit

Permalink
Merge pull request #548 from European-XFEL/feat/red-cache-scratch
Browse files Browse the repository at this point in the history
Allow caching 'red' run folders to scratch
  • Loading branch information
takluyver authored Aug 28, 2024
2 parents 201b0f5 + c3f15c7 commit fd33ea3
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 fd33ea3

Please sign in to comment.