def darpa(subject, args): subject = subject[:2].upper() + subject[2:] argv = ['-s', subject, '-a', args.atlas, '--remote_subject_dir_template', '/space/huygens/1/users/kara/{subject}_SurferOutput'] # '--remote_subject_dir_func', 'upper'] args = find_rois.get_args(argv) find_rois.run_for_all_subjects(args)
def use_sftp(subject, args): argv = ['-s', subject, '--sftp', '1', '--sftp_username', 'npeled', '--sftp_domain', 'door.nmr.mgh.harvard.edu', '--remote_subject_dir_template', '/autofs/cluster/neuromind/npeled/subjects/{subject}', '--elecs_dir', '/home/noam/subjects/RAScoordinatessnapped', '--write_compact_bipolar', '1', '--overwrite', '0'] args = find_rois.get_args(argv) find_rois.run_for_all_subjects(args)