neuroscout/populate/extract.py
def _load_stim(stim_model):
    """ Load Stimulus model to Pliers Stimulus object """
    stims = []
    if stim_model.path is None:
        stims.append(
            (stim_model, ComplexTextStim(text=stim_model.content)))
        stims.append(
            (stim_model, TextStim(text=stims[-1][1].data)))

    else:
        stims.append(
            (stim_model, load_stims(stim_model.path)))
    return stims
 Load Stimulus model to Pliers Stimulus object 
Load Stimulus model to Pliers Stimulus object
Load Stimulus model to Pliers Stimulus object
def _load_stim(stim_model):
    stims = []
    if stim_model.path is None:
        stims.append(
            (stim_model, ComplexTextStim(text=stim_model.content)))
        stims.append(
            (stim_model, TextStim(text=stims[-1][1].data)))
    else:
        stims.append(
            (stim_model, load_stims(stim_model.path)))
    return stims
def _load_stim ( stim_model ) : stims = [ ] if stim_model . path is None : stims . append ( ( stim_model , ComplexTextStim ( text = stim_model . content ) ) ) stims . append ( ( stim_model , TextStim ( text = stims [ - 1 ] [ 1 ] . data ) ) ) else : stims . append ( ( stim_model , load_stims ( stim_model . path ) ) ) return stims
Load Stimulus model to Pliers Stimulus object
Load Stimulus model to Pliers Stimulus object
""" Load Stimulus model to Pliers Stimulus object """
stim_model