Howdy, Stranger!

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

Supported by

Problem with an experiment (ANT)


Hello, I am new to opensesame and my abilities are downright low.

I downloaded the ANT (attention network task) experiment from the internet only when I tried to start the experiment an error message would appear:

The experiment did not end normally for the following reason: 'var.block_no <> 0' is not a valid conditional statement

Details

item-stack: experiment [run] .block_loop_pr [run] .pr_sequence [run] .practice_loop [run] .trial_sequence [prepare]


Could you help me ?

Also if someone knows the LANT version (lateralized attention network task) of this task and knows how I can modify the one I have to get there, just help me that would be great!

Lou 😊

Comments

  • oh and I found this experience on this address: https://osf.io/fpmn3/
    


  • Hi Lou,

    Well, the error message says it already: var.block_no <> 0 doesn't work. I am not sure what the conditional statement is supposed to do, but it should be one of these:

    like var.block_no>0 or var.block_no<0 or var.block_no==0, etc. Check the Python documentation to get a list of all possible operators. So, what you need to do is to find where the experiment uses that line and fix it there. Luckily the error message also tells you where the error is. Namely: experiment [run] .block_loop_pr [run] .pr_sequence [run] .practice_loop [run] .trial_sequence [prepare]. So, in the item Trial_sequence in the prepare phase, this line must be used somewhere. Try to find it and fix it.

    Generally, I would recommend that you try to familiarize a little with Opensesame before you jump into understanding other peoples experiments. That is often times harder that starting yourself from scratch.

    Here is a pretty straightforward tutorial to familiarize yourself with Opensesame: https://osdoc.cogsci.nl/3.3/tutorials/beginner/

    Sebastiaan has also a lot of nice youtube tutorials where he explains how to do some things in Opensesame. I'm sure you'll find something there that will be useful to you.

    Good luck,

    Eduard

    Buy Me A Coffee

  • thanks a lot !

Sign In or Register to comment.