If this template helps then use it. If not then just delete and start from scratch.
OS (e.g. Win10): macOSBig Sur
PsychoPy version (e.g. 1.84.x): (v2021.1.4)
Standard Standalone? (y/n) Yes
What are you trying to achieve?:
I’m writing to ask you how I can run two blocks separately in a single routine. I want half of the participants to see block x, and another half to see Block y.
What did you try to make it work?:
There is a single routine with two blocks in my experiment. I created an excel spreadsheet for each block (familiarlangBlock.xlsx; unfamiliarlangBlock.xlsx) and then did another spreadsheet (chooseBlocks.xlsx) for the outer loop. Everything worked well when I ran the experiment. However, both blocks repeated sequentially.
So I moved to the counterbalancing step. I created two more spreadsheets (chooseBlocksA.xlsx; chooseBlocksB.xlsx) and typed below command
$"chooseBlocks"+expInfo['group']+".xlsx" in conditions field in inner loop. I also added my group beginning of the experiment under the Experiment Setting tab.
HSsS.psyexp (8.4 KB)
chooseBlocksB.xlsx (8.5 KB)
chooseBlocksA.xlsx (8.5 KB)
unfamiliarlangBlock.xlsx (8.8 KB)
familiarlangBlock.xlsx (8.9 KB)
chooseBlocks.xlsx (8.6 KB)
What specifically went wrong when you tried that?:
It seemed to work, but when I ran the experiment, there was a warning message:
“/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/data/utils.py”, line 300, in importConditions
raise ValueError(msg % os.path.abspath(fileName))
ValueError: Conditions file not found: /Users/Zelish/Desktop/HappySoundsExp/
I do not know what I’m doing wrong and appreciate it if someone points out my mistake.
Many thanks for your help!
Include pasted full error message if possible. “That didn’t work” is not enough information.