Salome HOME
projects
/
modules
/
yacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a30fc7
)
Bugfix in the documentation example to creat a YACS schema with the python API.
author
Ovidiu Mircescu
<ovidiu.mircescu@edf.fr>
Fri, 6 Jun 2014 09:10:03 +0000
(11:10 +0200)
committer
Ovidiu Mircescu
<ovidiu.mircescu@edf.fr>
Wed, 23 Jul 2014 09:32:11 +0000
(11:32 +0200)
doc/schemapy.rst
patch
|
blob
|
history
diff --git
a/doc/schemapy.rst
b/doc/schemapy.rst
index 19b6df984a6c35a6b44ad60bbe11fd0e380eb0ba..99cc30e0c9c8c8a0cf0524c98d21b24862e2d1e1 100644
(file)
--- 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