Skip to content

Commit 519f2db

Browse files
committed
Add None check for conditional
1 parent 83f1b02 commit 519f2db

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

graphs/chilies_split_config.graph

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@
297297
"outputAppFields": [],
298298
"inputApplicationName": "GenericScatterApp",
299299
"inputApplicationType": "DALiuGEApp",
300-
"inputApplicationId": "1703c2ac-9540-4300-a55a-35512f290d70",
300+
"inputApplicationId": "f8a3e4c2-7f2b-405f-8791-94af06d7aca2",
301301
"inputApplicationDescription": "",
302302
"inputApplicationComment": "",
303303
"outputApplicationName": "",
@@ -2174,7 +2174,7 @@
21742174
"description": "In-memory storage of intermediate data products",
21752175
"comment": "",
21762176
"x": 1653.6284798815782,
2177-
"y": -625.4572273813305,
2177+
"y": -627.4360705208536,
21782178
"repositoryUrl": "https://github.com/ICRAR/daliuge",
21792179
"commitHash": "117d50e",
21802180
"paletteDownloadUrl": "https://raw.githubusercontent.com/ICRAR/EAGLE-graph-repo/master/daliuge/daliuge-master.palette",
@@ -3189,7 +3189,7 @@
31893189
},
31903190
{
31913191
"name": "func_code",
3192-
"value": "def conditionB(x): \n return (len(x) > 0)",
3192+
"value": "def conditionB(x): \n if x == None:\n return False\n return (len(x) > 0)",
31933193
"defaultValue": "def condition(x): return (x > 0)",
31943194
"description": "Python function code for the branch condition. Modify as required. Note that func_name above needs to match the defined name here.",
31953195
"readonly": false,

0 commit comments

Comments
 (0)