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

Specifying stdin using an expression causes filemapper error

Open
#1,004 3 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
Python
Stars
376
Forks
255
Avg merge
2d 7h
Merged PRs (30d)
12

Description

``` cwl
#!/usr/bin/env cwl-runner
cwlVersion: v1.0
class: CommandLineTool

baseCommand: ['cat']

stdin: $(inputs.input_file.basename)
inputs:
input_file:
type: File

outputs: []
```

On macOS & Linux:

```
(base) mdb-ml:cwltool mdb$ cwltool tmp.cwl --input_file README.rst
/Users/mdb/miniconda3/bin/cwltool 1.0.20181210073803
Resolved 'tmp.cwl' to 'file:///Users/mdb/work/cwltool/tmp.cwl'
[job tmp.cwl] /private/tmp/docker_tmpeknwy5b4$ cat < README.rst
[job tmp.cwl] Job error:
README.rst missing from pathmapper
[job tmp.cwl] completed permanentFail
{}
Final process status is permanentFail
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.