From 12a76c2d2b7450ac3f2c1e13fd729a4d39796e51 Mon Sep 17 00:00:00 2001 From: Christophe Pradal Date: Wed, 26 Sep 2012 09:43:59 +0000 Subject: [PATCH] modify the computation of the outputs of a node git-svn-id: svn://scm.gforge.inria.fr/svnroot/openalea/trunk@3653 04ea39c6-a500-0410-8508-e77fe2a861cf --- src/openalea/core/alea.py | 1 + src/openalea/core/node.py | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/openalea/core/alea.py b/src/openalea/core/alea.py index 78b15c84..71fe7139 100644 --- a/src/openalea/core/alea.py +++ b/src/openalea/core/alea.py @@ -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(): diff --git a/src/openalea/core/node.py b/src/openalea/core/node.py index e999c6b4..ea76c468 100644 --- a/src/openalea/core/node.py +++ b/src/openalea/core/node.py @@ -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. """