Clinical-Genomics-Lund / Pipeline-validation-tools

Set of tools for assisting verifications and validations.
0 stars 0 forks source link

Double soft-linking when rerunning in same folder #8

Open Jakob37 opened 4 hours ago

Jakob37 commented 4 hours ago
Traceback (most recent call last):
  File "giab_runner.py", line 384, in <module>
    args.nostart,
  File "giab_runner.py", line 80, in main
    setup_results_links(config, results_dir, run_label, run_type)
  File "giab_runner.py", line 307, in setup_results_links
    log_link.symlink_to(log_link_target)
  File "/usr/lib64/python3.6/pathlib.py", line 1327, in symlink_to
    self._accessor.symlink(target, self, target_is_directory)
  File "/usr/lib64/python3.6/pathlib.py", line 434, in symlink
    return os.symlink(str(a), str(b))
FileExistsError: [Errno 17] File exists: '/mnt/beegfs/nextflow/giab-trio-jw_update_genmod-bam.wgs-hg38-check.2024-11-01.log' -> 'out/genmod/giab-trio-jw_update_genmod-bam/nextflow.log'