Avatar

Howdy, Stranger!

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

Supported by

boris

About

Username
boris
Joined
Visits
59
Last Active
Roles
Member

Comments

  • It works perfectly. Thank you very much ! The idea that you need to separate "inline" and "graphical interface" is not easy to get for beginners... Then I had a new very naive problem: I want to have an "if statement"…
  • I think I found a solution to the previous problem This code is passing (but I do not know if Somme is correctly update) Somme = Somme + self.get('response_time') Then, at the end of the block I compute global CountMot, Somme, Moy Moy = Somme /…
  • Another problem is that when I want to store the "response_time" in a variable in an inline (even in the "Run Phase" tab), it is not possible... For instance Somme = Somme + response_time is returning: NameError: name 'respo…
  • Another thing that comes to mind is that you're trying to use a sketchpad item (rather than a feedback item) to display the trial response feedback. A sketchpad is constructed during the prepare phase of the trial sequence, and its content can there…
  • Hi Edwin, I tested your code and it works nicely now. More interesting it's working in "extreme conditions" with 240 items and only 2 repetitions. So I'll check everything tomorrow but it looks like a problem solved ! (interestingly peo…
  • Hi, A very easy feature to implement would be that default subject files names would be: [name of the experiment]-[subject number] Another interesting feature would be a "view complete script" command... (I did not find it) Best regards…
  • Hi Sebastiaan, Finally I found that the problem I had with your script concerned the path (space and/or accentuated characters) Now it's working nicely. The only problem remaining is that it crashes with 120 items or more... Here is the script f…
  • Hi Edwin, I ran your opensesame script (from the dropbox). I converted the stimuli.txt file to UTF8 I emptied the "block_loop" object in OS It runs but: -it did not respect the constraint of 2 or 3 max successive items -some items …
  • Hi Sebastiaan, Thank you very much !! Unfortunately, I tried your code and had the following error Error: Inline script error In: inline_script (run phase) File "dist\libopensesame\inline_script.py", line 106, in preparePython tracebac…
  • I also tried your code with a simple list ("1" would code for words and "2" for nonwords) like stimlist = ['1', '1', '1','1', '1', '1','1', '1', '1','2', '2', '2', '2','2', '2', '2','2', '2', '2','2'] But when I print stim…
  • Hi Edwin, Thank you very much for your code but I'm not sure that I understand everything. The point is that, I have difficulties to see how your inline identify the column defining words and pseudowords (the one where I do not want more than x re…
  • Thank you for your answer ! I know Mix and Shuffle (also for linux or mac) but this forces me to use pre-made lists for each subject. Isn't it possible to do this with a Python inline ? Best regards, Boris