Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os
- import sys
- from pypreprocess.nipype_preproc_spm_utils import do_subjects_preproc
- config = sys.argv[-1]
- _, extension = os.path.splitext(config)
- if extension != '.ini':
- print('%s is not .ini file' % config)
- else:
- # preprocess the data
- results = do_subjects_preproc(config)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement