FileNotFoundError: [Errno 2] No such file or directory: 'http://download.systemsbiology.nl/unlock/cwl/test_data/proteomics/raw'
ERROR Workflow error, try again with --debug for more information:
[Errno 2] No such file or directory: 'http://download.systemsbiology.nl/unlock/cwl/test_data/proteomics/raw'
Did you try with path: http://download.systemsbiology.nl/unlock/cwl/test_data/proteomics/raw/ ?
Though there isn’t an HTTP method to list the contents of a directory, alas. FTP has it, though FTP servers are becoming less common (and cwltool does not support FTP by default as the CWL specs don’t require FTP support). For cwltool, we could copy in the FTP code I wrote for cwl-tes and only enable it by an additional command line flag.
> cwltool --outdir OUT --provenance PROV proteomics/maxquant.yaml
INFO /Users/jasperk/mambaforge/bin/cwltool 3.1.20220802125926
INFO [cwltool] /Users/jasperk/mambaforge/bin/cwltool --outdir OUT --provenance PROV proteomics/maxquant.yaml
INFO Resolved 'proteomics/maxquant.yaml' to 'file:///Volumes/Git/m-unlock/cwl/tests/proteomics/maxquant.yaml'
../tools/maxquant/maxquant.cwl:39:3: object id `../tools/maxquant/maxquant.cwl#mqpar` previously defined
../tools/maxquant/maxquant.cwl:39:3: object id `../tools/maxquant/maxquant.cwl#mqpar` previously defined
INFO [provenance] Adding to RO http://download.systemsbiology.nl/unlock/cwl/test_data/proteomics/mqpar.xml
ERROR Got workflow error
Traceback (most recent call last):
File "/Users/jasperk/mambaforge/lib/python3.10/site-packages/cwltool/executors.py", line 251, in run_jobs
job.run(runtime_context)
File "/Users/jasperk/mambaforge/lib/python3.10/site-packages/cwltool/job.py", line 867, in run
(runtime, cidfile) = self.create_runtime(env, runtimeContext)
File "/Users/jasperk/mambaforge/lib/python3.10/site-packages/cwltool/docker.py", line 362, in create_runtime
self.add_volumes(
File "/Users/jasperk/mambaforge/lib/python3.10/site-packages/cwltool/job.py", line 749, in add_volumes
self.add_writable_directory_volume(
File "/Users/jasperk/mambaforge/lib/python3.10/site-packages/cwltool/docker.py", line 320, in add_writable_directory_volume
shutil.copytree(volume.resolved, host_outdir_tgt)
File "/Users/jasperk/mambaforge/lib/python3.10/shutil.py", line 557, in copytree
with os.scandir(src) as itr:
FileNotFoundError: [Errno 2] No such file or directory: 'http://download.systemsbiology.nl/unlock/cwl/test_data/proteomics/raw'
ERROR Workflow error, try again with --debug for more information:
[Errno 2] No such file or directory: 'http://download.systemsbiology.nl/unlock/cwl/test_data/proteomics/raw'
INFO [provenance] Finalizing Research Object
INFO [provenance] Research Object saved to /Volumes/Git/m-unlock/cwl/tests/PROV