Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

item.set removed in Opensesame 4

Hi all,

I have an experiment that runs perfectly in Opensesame 3 but not in 4. The reason is this code that I use in an inline to define the duration of a fixation display:

fix_durations = range(400,1700,100)

fix1duration = random.choice(fix_durations)

exp.set('fix1dur', fix1duration)

The error message that I get is that "item.set has been removed from OS4". I can't find anywhere in the documentation anything about this. Anyone knows how to set an OS variable now in Python and Javascript (I eventually want to run this in OSWeb)?

Cheers,

marios

Comments

Sign In or Register to comment.