You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
raiseException(f"this function should be run only for out_localmax_txt_file not {name}")
32
+
raiseException(
33
+
f"this function should be run only for index_file, localmax_txt_file, localmax_vol_file, max_file, mean_file, pval_file, size_file, or threshold_file not {name}"
34
+
)
17
35
18
36
19
37
input_fields= [
@@ -33,74 +51,66 @@ def Cluster_output(inputs):
33
51
),
34
52
(
35
53
"out_index_file",
36
-
str,
54
+
ty.Any,
37
55
{
38
56
"help_string": "output of cluster index (in size order)",
39
57
"argstr": "--oindex={out_index_file}",
40
-
"output_file_template": "{in_file}_index",
41
58
},
42
59
),
43
60
(
44
61
"out_threshold_file",
45
-
str,
62
+
ty.Any,
46
63
{
47
64
"help_string": "thresholded image",
48
65
"argstr": "--othresh={out_threshold_file}",
49
-
"output_file_template": "{in_file}_threshold",
50
66
},
51
67
),
52
68
(
53
69
"out_localmax_txt_file",
54
-
str,
70
+
ty.Any,
55
71
{
56
72
"help_string": "local maxima text file",
57
73
"argstr": "--olmax={out_localmax_txt_file}",
58
-
"output_file_template": Cluster_output,
59
74
},
60
75
),
61
76
(
62
77
"out_localmax_vol_file",
63
-
str,
78
+
ty.Any,
64
79
{
65
80
"help_string": "output of local maxima volume",
66
81
"argstr": "--olmaxim={out_localmax_vol_file}",
67
-
"output_file_template": "{in_file}_localmax",
68
82
},
69
83
),
70
84
(
71
85
"out_size_file",
72
-
str,
86
+
ty.Any,
73
87
{
74
88
"help_string": "filename for output of size image",
75
89
"argstr": "--osize={out_size_file}",
76
-
"output_file_template": "{in_file}_size",
77
90
},
78
91
),
79
92
(
80
93
"out_max_file",
81
-
str,
94
+
ty.Any,
82
95
{
83
96
"help_string": "filename for output of max image",
84
97
"argstr": "--omax={out_max_file}",
85
-
"output_file_template": "{in_file}_max",
86
98
},
87
99
),
88
100
(
89
101
"out_mean_file",
90
-
str,
102
+
ty.Any,
91
103
{
92
104
"help_string": "filename for output of mean image",
93
105
"argstr": "--omean={out_mean_file}",
94
-
"output_file_template": "{in_file}_mean",
95
106
},
96
107
),
97
108
(
98
109
"out_pval_file",
99
-
str,
110
+
ty.Any,
100
111
{
101
112
"help_string": "filename for image output of log pvals",
raiseException(f"this function should be run only for out_localmax_txt_file not {name}")
27
+
raiseException(f"this function should be run only for index_file, localmax_txt_file, localmax_vol_file, max_file, mean_file, pval_file, size_file, or threshold_file not {name}")
0 commit comments