Skip to content

Conversation

@simleo
Copy link
Collaborator

@simleo simleo commented May 25, 2023

This fixes the specific error reported in #33, but then the conversion of the sample RO bundle breaks again due to another error: AttributeError: 'list' object has no attribute 'rsplit'.

The problem fixed here is due to the fact that we were not dealing with steps whose input mapping might not have a source. In this case, it only has a valueFrom. In this case, we fix the code by skipping the mapping, since it's not a connection with another parameter but an arbitrary Javascript expression. Note that CWL Viewer does the same (the outname mapping is not represented):

graph

@simleo simleo merged commit 8ab22b7 into ResearchObject:main May 26, 2023
@simleo simleo deleted the step_valuefrom branch May 26, 2023 08:41
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.

1 participant