Skip to content

Commit 6ed5970

Browse files
committed
made validation default behaviour
1 parent 8b2c106 commit 6ed5970

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

run.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ def run(command, env={}):
4141
'provided all subjects should be analyzed. Multiple '
4242
'participants can be specified with a space separated list.',
4343
nargs="+")
44-
parser.add_argument('--validate', help='Whether or not to perform BIDS dataset validation',
44+
parser.add_argument('--skip_bids_validator', help='Whether or not to perform BIDS dataset validation',
4545
action='store_true')
4646
parser.add_argument('-v', '--version', action='version',
4747
version='BIDS-App example version {}'.format(__version__))
4848

4949

5050
args = parser.parse_args()
5151

52-
if args.validate:
52+
if not args.skip_bids_validator:
5353
run('bids-validator %s'%args.bids_dir)
5454

5555
subjects_to_analyze = []

0 commit comments

Comments
 (0)