Skip to content

Commit ce55ece

Browse files
wybertkoettert
authored andcommitted
add more descriptions for the nodes
1 parent 4f40c1f commit ce55ece

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

knime_extension/src/nodes/spatialstatistics.py

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,8 @@ def execute(self, exec_context: knext.ExecutionContext, input_1, input_2):
10961096
)
10971097
@knext.output_table(
10981098
name="Output Table",
1099-
description="Output table results of Bivariate Global Moran’s I",
1099+
description="Output table results of Bivariate Global Moran’s I"
1100+
+ __global_statistics_output_table_description,
11001101
)
11011102
# @knext.output_binary(
11021103
# name="output model",
@@ -1105,11 +1106,12 @@ def execute(self, exec_context: knext.ExecutionContext, input_1, input_2):
11051106
# )
11061107
@knext.output_view(
11071108
name="output view",
1108-
description="Output view of Bivariate Global Moran’s I",
1109+
description="Output view of Bivariate Global Moran’s I"
1110+
+ __global_statistics_interactive_view_description,
11091111
)
11101112
class BivariateGlobalMoran:
11111113
"""
1112-
Bivariate Global Moran’s I
1114+
Bivariate Global Moran’s I.
11131115
"""
11141116

11151117
# input parameters
@@ -1124,15 +1126,15 @@ class BivariateGlobalMoran:
11241126
id_col = get_id_col_parameter()
11251127

11261128
Field_col1 = knext.ColumnParameter(
1127-
"Field column 1",
1128-
"The column containing the field to use for the calculation of Bivariate Global Moran’s I.",
1129+
"Variable column 1",
1130+
"The column containing the variable to use for the calculation of Bivariate Global Moran’s I.",
11291131
column_filter=knut.is_numeric,
11301132
include_none_column=False,
11311133
)
11321134

11331135
Field_col2 = knext.ColumnParameter(
1134-
"Field column 2",
1135-
"The column containing the field to use for the calculation of Bivariate Global Moran’s I.",
1136+
"Variable column 2",
1137+
"The column containing the variable to use for the calculation of Bivariate Global Moran’s I.",
11361138
column_filter=knut.is_numeric,
11371139
include_none_column=False,
11381140
)
@@ -1206,7 +1208,9 @@ def execute(self, exec_context: knext.ExecutionContext, input_1, input_2):
12061208
)
12071209
@knext.output_table(
12081210
name="Output Table",
1209-
description="Output table results of Bivariate Local Moran Statistics",
1211+
description="Output table results of Bivariate Local Moran Statistics"
1212+
+ __local_statistics_output_table_description
1213+
+ __spots,
12101214
)
12111215
# @knext.output_binary(
12121216
# name="output model",
@@ -1234,15 +1238,15 @@ class BivariateLocalMoran:
12341238
id_col = get_id_col_parameter()
12351239

12361240
Field_col1 = knext.ColumnParameter(
1237-
"Field column 1",
1238-
"The column containing the field to use for the calculation of Bivariate Local Moran Statistics.",
1241+
"Variable column 1",
1242+
"The column containing the variable to use for the calculation of Bivariate Local Moran Statistics.",
12391243
column_filter=knut.is_numeric,
12401244
include_none_column=False,
12411245
)
12421246

12431247
Field_col2 = knext.ColumnParameter(
1244-
"Field column 2",
1245-
"The column containing the field to use for the calculation of Bivariate Local Moran Statistics.",
1248+
"Variable column 2",
1249+
"The column containing the variable to use for the calculation of Bivariate Local Moran Statistics.",
12461250
column_filter=knut.is_numeric,
12471251
include_none_column=False,
12481252
)

0 commit comments

Comments
 (0)