common-workflow-language / common-workflow-language/cwltool

Problems with --cachedir and DockerRequirement

Ouverte
#203 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
376
Forks
255
Merge moyen
2 j 7 h
PR mergées (30 j)
12

Description

Hi,

the `--cachedir` option did not work for me (similar to #173).

I had a closer look and noticed that there is a difference in the `keydictstr` where it specifies the `"DockerRequirement":`.

In the one it puts an extra key `"dockerImageID":`, in the other one it doesn't:

```
..."DockerRequirement":{"class":"DockerRequirement","dockerPull":"GreetDB/pipeline:cwl_pipeline"},...
..."DockerRequirement":{"class":"DockerRequirement","dockerImageId":"GreetDB/pipeline:cwl_pipeline","dockerPull":"GreetDB/pipeline:cwl_pipeline"},...
```

As a temporary solution, I'm both specifying the `DockerImageId:` and the `DockerPull:` under the `DockerRequirement:`. The --cache-dir seems to be working consistently.

Thanks a lot,
Greet

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.