#Instructions
- Delete the old CogSciProject folder on your desktop
- Go to https://github.com/turbosnail9/CogSciProject (If you see a 404 error, then you need to log in. You should already have access).
- Download ZIP of CogSciProject and extract it on your desktop
- Open PsychoPy and go to File->Open->[Location of CogSciProject]->bcam_script->welcomescript.py
- Run the script!
#Background
This project is part of the HIV Cognition project conducted at the Montreal Chest Institute. It contains various cognitive tests written in Python and Expyriment.
#Tasks The tasks are given in both English and French:
- PreTrial (100%)
- Reaction TIme (99%)
- Memory (99%)
- Corsi Blocks (Forward+Back) (50%)
- Memory Recall
- Flanker (99%)
- Shape 2-back (99%)
- Letter 2-back (90%)
- Letter 3-back (90%)
- Verbal Fluency
#TODO
- Build blocks for Flanker Task and Corsi Blocks
- Integrate tests with welcome script
To install, run:
$ pip install -r requirements.txt
To run individual tests, under the pypoker parent folder,
$ python -m unittest tests.<module name>
To run all the tests, under the pypoker parent folder, just do:
$ python -m unittest discover tests -v
To run all tests using nose,
$ nosetests -v tests
To run all tests using nose and coverage,
$ nosetests -v --with-coverage --cover-package=mooc_aggregator_restful_api --cover-inclusive --cover-erase tests
Whole project:
$ pep8 --exclude=LICENSE*,*.txt,*.md,*.pyc,.svn,CVS,.bzr,.hg,.git,__pycache__ --ignore=E501 *
A specific file:
$ pep8 --exclude=LICENSE*,*.txt,*.md,*.pyc,.svn,CVS,.bzr,.hg,.git,__pycache__ --ignore=E501 <path_to_file>
Ari Ramdial - ari.ramdial@gmail.com