Skip to content

Commit 6109810

Browse files
author
tergeorge
committed
changes made to schema.py
1 parent d717e53 commit 6109810

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CPAC/pipeline/schema.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from itertools import chain, permutations
2121

2222
import numpy as np
23-
from voluptuous import All, ALLOW_EXTRA, Any, In, Length, Match, Optional, \
23+
from voluptuous import All, Capitalize, ALLOW_EXTRA, Any, In, Length, Match, Optional, \
2424
Range, Required, Schema
2525
from voluptuous.validators import ExactSequence, Maybe
2626

@@ -749,7 +749,7 @@ def _changes_1_8_0_to_1_8_1(config_dict):
749749
'run': bool,
750750
'truncation': {
751751
'start_tr': int,
752-
'stop_tr': Maybe(Any(int, 'End'))
752+
'stop_tr': Maybe(Any(int, All(Capitalize, 'End')))
753753
},
754754
'scaling': {
755755
'run': bool,

0 commit comments

Comments
 (0)