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

Auto-casting single item to array fails

オープン
#171 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
376
フォーク
255
平均マージ
2日 7時間
マージ済み PR(30日)
12

説明

Input

```
inputFileName_markDups:
type: File[]?
inputBinding:
position: 4
prefix: INPUT=
```

The call uses a _single_ BAM file from a previous step, not an array.

Causes the following error:

```
Workflow error, try again with --debug for more information:
Type mismatch between source 'file:///home/ubuntu/gitroot/common-workflow-language/workflows/workflows/GATK/GATK-complete-Workflow-h3abionet.cwl#samtools-sort/sorted' (File) and sink 'file:///home/ubuntu/gitroot/common-workflow-language/workflows/workflows/GATK/GATK-complete-Workflow-h3abionet.cwl#MarkDuplicates/inputFileName_markDups' ([u'null', {u'items': 'File', u'type': u'array'}])
```

But it works fine when markdup's input is:

```
inputFileName_markDups:
type: File[]
inputBinding:
position: 4
prefix: INPUT=
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。