joff
About
- Username
- joff
- Joined
- Visits
- 18
- Last Active
- Roles
- Member
Comments
-
Hi there, I am also having some trouble with installing the plug-in. I tried using the pip command in the debug window and I have tried manually moving the files across to the opensesame/share directory. I get the following error: pip.main(['instal…
-
Sorry guys, it turned out to be a silly mistake! One of the images in my code was referenced to a specific file path on my laptop, rather than retrieving the file path from the file pool. All fixed now, thanks. Joff
-
Hi Josh, Yes it is. That's what I am finding odd, it is recognising the files in the file pool but then it appears to try to access the experiment files from this other directory. Any ideas? Thanks, Joff
-
Sorry Eduard, the response times are still not being recorded properly. I copied your code in, save your mask and canvas, but an incorrect response time is set on the first trial and this doesn't change for subsequent trials. Very strange, but I don…
-
Hi Eduard, Thanks again for the suggestion, unfortunately it is still not working. What happens now is that the mask is shown for the correct duration, however all responses are shown as incorrect regardless of the response - I'm guessing it is log…
-
Hi Eduard, I tested the code but it's the same problem I'm afraid! I think I see what you mean about the infinite loop: clock.time() - t0 is always greater than 495, after 495ms has passed (although I realise the if statement should interrupt this…
-
Hi Eduard, Thanks for the comments, that does make sense now. However, after presenting the mask OpenSesame (not the experiment) crashes, without an error report, as if it is overloaded or something. Any ideas? Thanks, Joff
-
Hi Eduard, Thanks for the quick response! I understand what is happening up until "if not var.response:", then I am a bit lost, as I would have thought that could be an else statement? I tested the code and I get an error "t1 is not…
-
Hi there, I'm having a similar problem, but I couldn't workout how the above script would apply to my experiment. In my visual search experiment, I want my canvas to always remain for 2500ms, regardless of a key press. However, I would like to coll…
-
Thanks, I'll check there in future if I spot a bug. Joff
-
Hi Sebastian, Sorry for the initial vagueness, regardless your advice was very helpful and I think I am very close to achieving what I want to do. Rather than these being completely random letters there are some rules. It is a visual search task wh…
-
Great, that's working now. Thanks very much!
-
Hi there, I am trying to use this script with OS 3, but I receive the error " 'str' object has no attribute 'var' ". I think the problem is with the initiate logfile function. Any help would be greatly appreciated! import os# Close the c…
-
Hi Sebastian, Thanks for getting back to me. There was no error message, the experiment runs but it is as if the inline code is ignored. Thanks, Joff
-
Hi there, I'm new to OpenSesame and Python - I tried using the above script to automatically set the session number, which is then saved as the file name. I tried entering it into the main script and it was removed once I clicked apply, and when I …