Skip to content

Commit

Permalink
modify the computation of the outputs of a node
Browse files Browse the repository at this point in the history
git-svn-id: svn://scm.gforge.inria.fr/svnroot/openalea/trunk@3653 04ea39c6-a500-0410-8508-e77fe2a861cf
  • Loading branch information
pradal committed Sep 26, 2012
1 parent 2d49ad9 commit 12a76c2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/openalea/core/alea.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ def f(*args, **kwds):


def _outputs(node):
#return node.outputs
return [node.output(i) for i in range(node.get_nb_output())]

def main():
Expand Down
4 changes: 4 additions & 0 deletions src/openalea/core/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,10 @@ def invalidate(self):

self.continuous_eval.notify_listeners(("node_modified", self))

#X @property
#X def outputs(self):
#X return [self.output(i) for i in range(self.get_nb_output())]

def to_script (self):
"""Script translation of this node.
"""
Expand Down

0 comments on commit 12a76c2

Please sign in to comment.