drbenvincent / darc_toolbox

Run adaptive decision making experiments
MIT License
16 stars 2 forks source link

move psychopy experiment(s) into subfolder #3

Closed drbenvincent closed 5 years ago

drbenvincent commented 5 years ago
drbenvincent commented 5 years ago

Currently implemented with

import sys
sys.path.insert(0, '../..') # relative coding of 'up' two folders.

We need to add some robustness here. If people put their psychopy experiments elsewhere then this will break. So we need some error catching and asking user for the directory in which bad and darc packages are installed. This would be easier if we installing our code into the Python environment with pip or whatever, but this potentially just makes like harder for people.

TODO someday: make this more robust