Hi!
That was what i originally tried, but i got the error saying:
if obj.contains(mouse):
AttributeError: ‘list’ object has no attribute ‘contains’
Hi!
That was what i originally tried, but i got the error saying:
if obj.contains(mouse):
AttributeError: ‘list’ object has no attribute ‘contains’
What version are you using? Avoid 2021.1.0-2
I am using version v2021.1.2
is this the version causing problems?
I don’t know for sure but I’m planning to skip those versions with my crib sheet
i downloaded another version and it works now!
Thank you so much for your help. I wouldve never realised that was the issue!
Hello,
I am getting another error with this task: I am making the corsi task and on each correct response the trial goes up by one
After two incorrect responses the task should end, however, this is not happening. It instead goes down one block. (so for example, if you get it incorrect when clicking on 5 blocks, it goes down to 4, then goes back up when you get it correct again)
Would anyone be able to help please? I believe its a problem with the end routine, but i am not good at coding. I have attached a screenshot to show the end routine.
Shouldn’t the last line of that code be -=1 instead of +=1 ?
Hi, thanks for the suggestion. I’ve just tried that and I am still getting the same error.
I realised that in the each frame tab I had a few lines of code that was resulting in the sequence going down by one when you click on an incorrect sequence. I deleted that so it no longer goes down by one, but it still won’t end the experiment after 2 incorrect responses
Where is the code that counts incorrect responses and finishes the loop?
Hi!
Im not sure how to do that…I really struggle with code. Do you know how i can write the code for this?
I have attached a screenshot of the each frame tab also
Hi all!
I’m new to PsychoPy and have started with the builder to create an acceptability judgment task with the slider. The experiment presents a sentence with the slider and a button to continue. Some trials include a comprehension question that appears on a subsequent screen. I’m getting the same error reported in this thread (copied below), i.e., the experiment aborts after I click on the first comprehension question. The line under “clickable” stimuli appears to be fine. I’m using version 2014 1.5.
Could someone provide some guidance? I’ve attached some screenshots as well as the experiment with the spreadsheet from which it pulls the practice stimuli and comprehension questions.
if obj.contains(mouse_comp):
AttributeError: ‘str’ object has no attribute ‘contains’
################# Experiment ended with exit code 1 [pid:3711] #################
AJT_Session1.psyexp (62.2 KB)
pract_study1.xlsx (5.9 KB)