From 4dd1b1994550ad25cb18646236d602552c6aab74 Mon Sep 17 00:00:00 2001 From: Andrea Settimi Date: Sun, 28 Jan 2024 22:26:51 +0100 Subject: [PATCH] CAP-WIP: modifiedd functioning CI componentizer --- .../components/scriptsynccpy/metadata.json | 29 ------------------- GH/PyGH/test/runner_script.py | 9 ++++-- 2 files changed, 6 insertions(+), 32 deletions(-) diff --git a/GH/PyGH/components/scriptsynccpy/metadata.json b/GH/PyGH/components/scriptsynccpy/metadata.json index fc2de1c..be017ae 100644 --- a/GH/PyGH/components/scriptsynccpy/metadata.json +++ b/GH/PyGH/components/scriptsynccpy/metadata.json @@ -9,35 +9,6 @@ "ghpython": { "marshalGuids": true, "iconDisplay": 2, - "inputParameters": [ - { - "name": "X", - "nickname": "x", - "description": "The X value of the component.", - "optional": true, - "allowTreeAccess": true, - "showTypeHints": true, - "scriptParamAccess": "item", - "wireDisplay": "default", - "sourceCount": 0, - "typeHintID": "float", - "reverse": false, - "simplify": false - }, - { - "name": "Y", - "nickname": "y", - "description": "The Y value of the component.", - "optional": true, - "allowTreeAccess": true, - "showTypeHints": true, - "scriptParamAccess": "item", - "wireDisplay": "default", - "sourceCount": 0, - "typeHintID": "float", - "simplify": false - } - ], "outputParameters": [ { "name": "stdout", diff --git a/GH/PyGH/test/runner_script.py b/GH/PyGH/test/runner_script.py index 92fb5cb..d4d53a7 100644 --- a/GH/PyGH/test/runner_script.py +++ b/GH/PyGH/test/runner_script.py @@ -1,8 +1,11 @@ #! python3 +x = 123 +y = 456 +a = x - y +c = x + y +b = 123456 + print(f"runner_script.py::x value: {x}") print(f"runner_script.py::y value: {y}") -a = 422 -c = x + y -b = 1239 print(f"runner_script.py::a value: {a}") \ No newline at end of file