generated from pyiron/pyiron_module_template
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
It's closely related to #24, but since it's getting pretty long, I open a new issue.
Let's talk about the following workflow:
def my_workflow(n):
for ii in my_list(n):
n = my_function(ii)
return nNow, following the logic from #24, there would be an edge from inputs.n to my_list, then my_list to my_function, finally my_function to output. Now, however, there are two significant differences:
- The output of
my_functionis not the input ofmy_list, asmy_listis evaluated only once whennis inserted iiis not the output ofmy_list, but it's each element of the output ofmy_list.
So I'm feeling that maybe our edge representation is not good enough to cover the for loop. What do you think? @liamhuber
Metadata
Metadata
Assignees
Labels
No labels