Skip to content

Commit 3611ddc

Browse files
committed
Moved Censoring "method" input validation to the schema as per
@shnizzedy's suggestion.
1 parent 0070922 commit 3611ddc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CPAC/pipeline/schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ def sanitize(filename):
10361036
{
10371037
"Name": Required(str),
10381038
"Censor": {
1039-
"method": str,
1039+
"method": In(["Kill", "Zero", "Interpolate", "SpikeRegression"]),
10401040
"thresholds": [
10411041
{
10421042
"type": str,

0 commit comments

Comments
 (0)