コード例 #1
0
def whichSubs(base_dir='cueexp'):

    if base_dir == 'cueexp':
        from getCueSubjects import getsubs
        subjects, gi = getsubs()
    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
コード例 #2
0
def whichSubs(base_dir='cueexp'):

	
	if base_dir=='cueexp':
		from getCueSubjects import getsubs 
		subjects,gi = getsubs()
	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