Skip to content

unsupported operand type(s) for +: 'NoneType' and 'str' #553

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

Closed
gijzelaerr opened this issue Oct 24, 2017 · 1 comment · Fixed by #635
Closed

unsupported operand type(s) for +: 'NoneType' and 'str' #553

gijzelaerr opened this issue Oct 24, 2017 · 1 comment · Fixed by #635

Comments

@gijzelaerr
Copy link
Member

$ .virtualenv/bin/cwltool ndppp_prep_cal.cwl --msin data/L591513_SB000_uv.MS
.virtualenv/bin/cwltool 1.0.20171017195544
Resolved 'ndppp_prep_cal.cwl' to 'file:///home/gijs/prefactor-cwl/ndppp_prep_cal.cwl'
Got workflow error
Traceback (most recent call last):
start of ndppp_prep_cal step
  File "/home/gijs/prefactor-cwl/.virtualenv/local/lib/python2.7/site-packages/cwltool/main.py", line 283, in single_job_executor
    for r in jobiter:
  File "/home/gijs/prefactor-cwl/.virtualenv/local/lib/python2.7/site-packages/cwltool/draft2tool.py", line 496, in job
    j.command_line = flatten(list(map(builder.generate_arg, builder.bindings)))
  File "/home/gijs/prefactor-cwl/.virtualenv/local/lib/python2.7/site-packages/cwltool/builder.py", line 243, in generate_arg
    args.append(prefix + self.tostr(j))
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
Workflow error, try again with --debug for more information:
unsupported operand type(s) for +: 'NoneType' and 'str'

CWL script:

https://github.com/gijzelaerr/prefactor-cwl/blob/393a99922fe84e161df1973bb30607295c0f9672/ndppp_prep_cal.cwl

@mr-c
Copy link
Member

mr-c commented Oct 24, 2017

While the CWL description is wrong, the error experienced is worse and should be fixed. Thank you @gijzelaerr for the report

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 a pull request may close this issue.

2 participants