Ejemplo n.º 1
0
def whichSubs():

    from getFmrieatSubjects import getsubs
    subjects = getsubs('cue')

    print(' '.join(subjects))

    input_subs = raw_input('subject id(s) (hit enter to process all subs): ')
    print('\nyou entered: ' + input_subs + '\n')

    if input_subs:
        subjects = input_subs.split(' ')

    return subjects
Ejemplo n.º 2
0
def whichSubs(base_dir='fmrieat'):

    if base_dir == 'fmrieat':
        from getFmrieatSubjects import getsubs
        subjects = getsubs('dti')
    elif base_dir == 'cueexp_claudia':
        from getCueSubjects import getsubs_claudia
        subjects, gi = getsubs_claudia()

    print(' '.join(subjects))

    input_subs = raw_input('subject id(s) (hit enter to process all subs): ')
    print('\nyou entered: ' + input_subs + '\n')

    if input_subs:
        subjects = input_subs.split(' ')

    return subjects