smathot

Untitled

Feb 9th, 2013
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.42 KB | None | 0 0
  1. # Get the trial id using the trial_sequence counter, and use that to get the
  2. # correct row from the stimlist
  3. trialId = self.get('count_trial_sequence')
  4. trialCond = exp.stimlist[trialId]
  5. # Use the columns from the stimlist to set the experimental variables
  6. exp.set('Target', trialCond[0])
  7. exp.set('Prime', trialCond[1])
  8. exp.set('Type', trialCond[2])
  9. exp.set('TypeCible', trialCond[3])
  10. exp.set('CorrectAnswer', trialCond[4])
Advertisement
Add Comment
Please, Sign In to add comment