+# Copyright (C) 2015-2016 CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
def buildScheme(fname):
import SALOMERuntime
import loader
# prepare for execution
inps[0].setDefaultValue(1.1)
inps[1].setSequenceOfValuesToEval([10.1,10.2,10.3])
-a,b=inps[2].hasSequenceOfValuesToEval()
+a=inps[2].hasSequenceOfValuesToEval()
inps[2].setSequenceOfValuesToEval([20.1,20.2,30.3,40.4])
-a,b=inps[2].hasSequenceOfValuesToEval()
+a=inps[2].hasSequenceOfValuesToEval()
inps[2].setSequenceOfValuesToEval([20.1,20.2,30.3])
-efx.lockPortsForEvaluation([outps[0],outps[2]])
+efx.lockPortsForEvaluation([inps[1],inps[2]],[outps[0],outps[2]])
#
+"""
g=efx.getUndergroundGeneratedGraph()
g.saveSchema("toto.xml")
rss=efx.giveResources()
assert(a)
assert(b==4)
assert(efx.getResults()==[[11.110000000000001, 11.22, 11.330000000000002], [93.63, 94.26, 124.89000000000001]])
+"""
#import loader
#import pilot
#l=loader.YACSLoader()