]> SALOME platform Git repositories - tools/yacsgen.git/commitdiff
Salome HOME
types example to python3. SHAPER_V9_1_0RC1
authorOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Fri, 27 Jul 2018 12:04:52 +0000 (14:04 +0200)
committerOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Fri, 27 Jul 2018 12:04:52 +0000 (14:04 +0200)
Examples/types1/coupling.xml

index e3875ba2613984a56a6839a68e914b84ee36ec9d..d4a99ef96f742393aa9f7bdf3ceb316e9583ffb9 100644 (file)
@@ -160,15 +160,15 @@ o8={"outputValues":o19,
       <outport name="o8" type="SALOME_TYPES/ParametricOutput"/>
    </inline>
    <inline name="PyScript0005">
-      <script><code><![CDATA[print i1
-print i2
-print i3
-print i4
-print i8
-print i9
-print i5
-print i6
-print i7
+      <script><code><![CDATA[print(i1)
+print(i2)
+print(i3)
+print(i4)
+print(i8)
+print(i9)
+print(i5)
+print(i6)
+print(i7)
 ]]></code></script>
       <inport name="i1" type="SALOME_TYPES/Parameter"/>
       <inport name="i2" type="SALOME_TYPES/ParameterList"/>
@@ -181,15 +181,15 @@ print i7
       <inport name="i7" type="SALOME_TYPES/ParametricOutput"/>
    </inline>
    <inline name="PyScript006">
-      <script><code><![CDATA[print i1
-print i2
-print i3
-print i4
-print i8
-print i9
-print i5
-print i6
-print i7
+      <script><code><![CDATA[print(i1)
+print(i2)
+print(i3)
+print(i4)
+print(i8)
+print(i9)
+print(i5)
+print(i6)
+print(i7)
 ]]></code></script>
       <inport name="i1" type="SALOME_TYPES/Parameter"/>
       <inport name="i2" type="SALOME_TYPES/ParameterList"/>