Skip to content

Fix #628 and improve parameter reference error messages - #652

Merged
mr-c merged 5 commits into
common-workflow-language:masterfrom
wtsi-hgi:fix-648
Mar 2, 2018
Merged

mr-c merged 5 commits into
common-workflow-language:masterfrom
wtsi-hgi:fix-648

Conversation

@ThomasHickman

Copy link
Copy Markdown
Member

This fixes #648 and makes the error messages for parameter references better (as referenced in the commit). I've also cleaned up the code which I've changed, to make it easier for other people to edit.

@cwl-bot

cwl-bot commented Feb 9, 2018

Copy link
Copy Markdown

Can one of the admins verify this patch?

@mr-c

mr-c commented Feb 9, 2018

Copy link
Copy Markdown
Member

Jenkins, add to test list

@mr-c

mr-c commented Feb 10, 2018

Copy link
Copy Markdown
Member

Jenkins, add to testlist

@mr-c

mr-c commented Feb 10, 2018

Copy link
Copy Markdown
Member

Running this with the example file from #648 (comment)

$ cwltool --validate expr_fail.cwl 
/home/michael/cwltool/env/bin/cwltool 1.0.20180210112813
/home/michael/cwltool/env/bin/cwltool 1.0.20180210112813
Resolved 'expr_fail.cwl' to 'file:///home/michael/cwltool/expr_fail.cwl'
Resolved 'expr_fail.cwl' to 'file:///home/michael/cwltool/expr_fail.cwl'
Tool definition is valid
Tool definition is valid

@ThomasHickman

Copy link
Copy Markdown
Member Author

^ is this unexpected output, or are you just verifying that this PR works?

@mr-c
mr-c merged commit 9eeff23 into common-workflow-language:master Mar 2, 2018
@mr-c

mr-c commented Mar 2, 2018

Copy link
Copy Markdown
Member

Thanks again @ThomasHickman !

@ThomasHickman
ThomasHickman deleted the fix-648 branch March 12, 2018 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expression-like valid javascript fails

3 participants