EOSC-LOFAR / prefactor-cwl

CWL version of prefactor
MIT License
3 stars 3 forks source link

Get docker container from kernsuite in make? #9

Open tammojan opened 6 years ago

tammojan commented 6 years ago

make run does not automatically pull the docker container kernsuite/prefactor. Should it?

mr-c commented 6 years ago

The CWL runner will pull it down as needed; did that not happen for you?

tammojan commented 6 years ago

It did not:

(school2017) ➜  prefactor-cwl git:(master) make
mkdir -p /Users/dijkema/opt/prefactor-cwl/runs/run_2018-01-08-10-41-49
.virtualenv/bin/cwltool \
        --leave-tmpdir \
        --cachedir cache \
        --outdir /Users/dijkema/opt/prefactor-cwl/runs/run_2018-01-08-10-41-49/results \
        prefactor.cwl \
        jobs/job_2sb.yaml > >(tee /Users/dijkema/opt/prefactor-cwl/runs/run_2018-01-08-10-41-49/output) 2> >(tee /Users/dijkema/opt/prefactor-cwl/runs/run_2018-01-08-10-41-49/log >&2)
.virtualenv/bin/cwltool 1.0.20171227212058
Resolved 'prefactor.cwl' to 'file:///Users/dijkema/opt/prefactor-cwl/prefactor.cwl'
prefactor.cwl:1:1: unrecognized extension field `http://schema.org/license`.  Did you include a $schemas section?
prefactor.cwl:1:1: unrecognized extension field `http://schema.org/author`.  Did you include a $schemas section?
No handlers could be found for logger "rdflib.term"
[workflow prefactor.cwl] start
[step ndppp_prep_cal] start
[job ndppp_prep_cal] Output of job will be cached in /Users/dijkema/opt/prefactor-cwl/cache/7b562cc0052ac22467f68a769dc4e2c5
Workflow error, try again with --debug for more information:
Docker is not available for this tool, try --no-container to disable Docker, or install a user space Docker replacement like uDocker with --user-space-docker-cmd.: Docker image kernsuite/prefactor not found
make: *** [run] Error 1
mr-c commented 6 years ago

Ah, this repo is doing dockerImageId: kernsuite/prefactor instead of dockerPull: kernsuite/prefactor