fair-workflows / fairworkflows

A python library for constructing, modifying and publishing scientific workflows described using semantic technologies.
Apache License 2.0
12 stars 3 forks source link

Issue163 tuple for return semantic types #166

Closed raar1 closed 3 years ago

raar1 commented 3 years ago

Addresses #163

out can now be a tuple, if multiple values are returned from a step (instead of the previous out1, out2, out3 etc.)

return might have been a clearer name for it, but it's obviously a keyword in python and can't be a parameter name. If you can think of a better name than out though then please let me know. (returnval? Probably worse...)

raar1 commented 3 years ago

See end of noodles_fw.ipynb for example of this new functionality.