Check for transfer conditional on resolved symlink path
Description
Closes #59
Implemented the changes as we discussed in the standup today. The location of the run directory is resolved, then the response from MyMdC is checked to see if the transfer has been complete or not.
So, even if the GPFS transfer is done, if the resolved path is on PNFS then it will continue waiting.
Overall:
- Added
cycleandinstrumentarguments towait_on_transferandwait_transfers - Use those vars with
config['correct']['in-folder'].format(...)to get the proposal dir - Resolve the path to
proposal_dir / f"{run:06d}" - If that path is relative to
/gpfs/exfel/dthen then check that GPFS transfer is done, else if it is rel. to/pnfscheck that DCACHE transfer is done - Update calls to
wait_transfersto pass through thecycleandproposal
How Has This Been Tested?
TBC
Relevant Documents (optional)
- Issue: #59
- DOC ticket: https://redmine.xfel.eu/issues/126621
Types of changes
- Bug fix (non-breaking change which fixes an issue)
Checklist:
- My code follows the code style of this project.