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

Missing Basename when using current directory as an input

Offen
#376 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
376
Forks
255
Ø Merge
2 T. 7 Std.
Gemergte PRs (30 T.)
12

Beschreibung

Hi all!
If use current directory as an input, cwltool fails to set a basename for this folder:
`WorkflowException: Invalid filename: '' contains illegal characters`
If add basename manually to the input in job file, all works

cwltool version 1.0.20170413194156

tool.cwl
```
cwlVersion: v1.0
class: CommandLineTool
hints:
- class: DockerRequirement
dockerPull: ubuntu:latest
inputs:
control_dir:
type: Directory
outputs: []
baseCommand: [echo, 'hello']
```
job_fail.json
```
{
"control_dir": {"class": "Directory", "location": "."}
}
```
job_success.json
```
{
"control_dir": {"class": "Directory", "location": ".", "basename":"any"}
}
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.