Advertisement
Guest User

Untitled

a guest
Mar 28th, 2017
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. import os
  2. import sys
  3. from pypreprocess.nipype_preproc_spm_utils import do_subjects_preproc
  4.  
  5. config = sys.argv[-1]
  6. _, extension = os.path.splitext(config)
  7.  
  8. if extension != '.ini':
  9. print('%s is not .ini file' % config)
  10. else:
  11. # preprocess the data
  12. results = do_subjects_preproc(config)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement