juliencarponcy / trialexp

MIT License
2 stars 4 forks source link

Update workflow to work with multiple task folder #16

Closed teristam closed 1 year ago

teristam commented 1 year ago

This draft PR contains modifications to work with the latest by_session folder that organizes data into different task folder and recording sessions. It also has changes necessary to make the workflow runnable in both Linux(e.g. on Jade) and Windows

  1. Consolidate config files. Now there is only one .env file to set the project root and session folder location. This also makes setting the debug_folder in settings.py easier

  2. Use input functions to introduce optional rules in the workflow. Now the workflow will not complain of error when no photometry file is found

  3. Analysis-specific parameters (e.g. trial window) are now gathered in one place in settings.py, making them easier to change.

  4. Numerous bugfix necessary for the workflow to run on all the tasks