Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

empty prefix argument after creating/removing prefix in visual editor #485

Open
boyangzhao opened this issue Dec 30, 2020 · 0 comments
Open

Comments

@boyangzhao
Copy link

I noticed that the rabix composer can result in an empty prefix '' for an argument if the user in the visual editor 1) first creates an argument with some prefix defined, and 2) remove all the text in the prefix. In the code, the prefix doesn't go away, but instead persists and is defined as prefix: ''. For example, following the above described procedure, you can result in

  - id: input
    type: File?
    inputBinding:
      position: 0
      prefix: ''

This is fine for running on SB platform; but with some cwl executors, this would cause an issue. This would result for example on toil with '' as a literal being used as the prefix for the argument, instead of having no prefix. The happened a few times and took me some time to figure out why I got these weird '' in the commands and had to manually remove those in the cwl code.

Rabix composer version: 1.5.0

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

No branches or pull requests

1 participant