-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Multiple inputs/outputs for "Python Script" #2324
Comments
This wouldn't be difficult to implement, but we have to decide what it will look like. The natural way to access multiple data sets would be by indexing, e.g. We could let One solution may be to have The technical implementation of this is not very clean, but it would work. |
hi, news on this ? |
@jerneju started working on it in #2418, but the current PR breaks compatibility with existing code. What about this option:
This solution doesn't require monkey-patching (like |
I'm sorry, I'm stupid. That's what's essentially already in #2418. |
Fixed in #2506. |
Orange version
3.4.dev0+1b1813c
Expected behavior
Often times it would be extremely useful to be able to connect several inputs to the Python Script widget and be able to do operations with them to generate one or multiple outputs.
Would it be possible to have in_data and out_data as an array and handle arbitrary number of inputs/outputs? (Or at least for the input part, because I see how outputting an array can confuse other widget functionality)
Actual behavior
Python Script accepts only one input and provides one output channel.
The text was updated successfully, but these errors were encountered: