From 133edffeb1b9f6149f88464b13b9019f57b3810c Mon Sep 17 00:00:00 2001 From: Ovidiu Mircescu Date: Fri, 6 Jun 2014 11:10:03 +0200 Subject: [PATCH] Bugfix in the documentation example to creat a YACS schema with the python API. --- doc/schemapy.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/doc/schemapy.rst b/doc/schemapy.rst index 19b6df984..99cc30e0c 100644 --- a/doc/schemapy.rst +++ b/doc/schemapy.rst @@ -397,6 +397,7 @@ will appear as follows:: r = pilot.getRuntime() p=r.createProc("pr") ti=p.getTypeCode("int") + td=p.getTypeCode("double") #node1 n1=r.createScriptNode("","node1") p.edAddChild(n1) @@ -420,9 +421,6 @@ will appear as follows:: p.edAddCFLink(n1,n2) p.edAddCFLink(n1,n4) #dataflow links - pout=n3.getOutputPort("p1") - pin=n4.getInputPort("p1") - #dataflow links p.edAddDFLink(n1.getOutputPort("p1"),n2.getInputPort("p1")) p.edAddDFLink(n1.getOutputPort("p1"),n4.getInputPort("p1")) #initialisation ports -- 2.30.2