fls-bioinformatics-core / auto_process_ngs

Scripts and utilities for automatic processing & management of Illumina NGS sequencing data.
Other
9 stars 6 forks source link

Check hard links are possible when requested for transferring data #872

Closed pjbriggs closed 11 months ago

pjbriggs commented 1 year ago

Adds checks to manage_fastqs.py and transfer_data.py utilities that hard linking is possible when the --link option is specified, by checking that 1) the destination is not on a remote system, and 2) that it is on the same filesystem/device as the target Fastqs.

If either of these conditions are not met when --link is specified then the utilities will now exit without executing the copy/transfer operations. Removing the hard linking option should allow the transfer to proceed.

This PR address a bug previous highlighted in issue #639.