Skip to content
Snippets Groups Projects
Commit 578110e0 authored by Thomas Kluyver's avatar Thomas Kluyver Committed by Robert Rosca
Browse files

Apply 2 suggestion(s) to 2 file(s)

parent 446c2266
No related branches found
No related tags found
1 merge request!670Check for transfer conditional on resolved symlink path
......@@ -111,7 +111,7 @@ async def test_wait_on_transfer(
pnfs_dir = pnfs_prefix / f"raw/{inst}/{cycle}/p{prop_no}/r{run_no}"
pnfs_dir.mkdir(parents=True)
run_path = tmp_root / f"gpfs/exfel/exp/{inst}/{cycle}/p{prop_no}/raw/r{run_no}"
run_path = tmp_root / f"gpfs/exfel/exp/{inst}/{cycle}/p{prop_no:06d}/raw/r{run_no:04d}"
run_path.parent.mkdir(parents=True)
if run_links_to == "XFEL_GPFS_OFFLINE_RAW_CC":
run_path.symlink_to(gpfs_dir)
......
......@@ -636,7 +636,7 @@ async def wait_transfers(
coros = []
for run in runs:
run_dir = (in_folder / f"{run:06d}")
run_dir = (in_folder / f"{run:04d}")
coros.append(wait_on_transfer(mdc, run, proposal, run_dir))
try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment