I am having some problems with importing the .xlsx file that contains the conditions for my experiment. It seems that each time I alter the excel file in any way and re-save it, it breaks connection with PyschoPy. This is troublesome when working in the Builder but it is easy enough to simply reselect the file from the Trials menu. It becomes nearly impossible to deal with though when I’m working from the Coder window.
I should clarify that I have been building the basic outline for my experiment in the Builder and then having the Builder write the script - from there I am alter the code in the Coder window as I see fit to get the stimuli I need. The problem is that in the Coder window there seems to be no way to easily reestablish the connection with the .xlsx file if the connection is broken from altering the contents of the file. The pathway to the file is not changing at any point: I am saving the excel file with the same name and in the same location as it was previously. So it can be assumed that it is not a problem of the pathway being incorrectly written. It seems that whether I simply “save” the excel file or whether I “save as” with the same name and location the same problem presents itself.
Does anyone have any ideas about why the connection would be lost each time I alter the contents of the excel file and how I might be able to fix this?