Remi Gau 05f5767537 [DATALAD] Recorded changes 2 years ago
..
data 4746f00bfa update code, test, refactor and lint 2 years ago
lib 05f5767537 [DATALAD] Recorded changes 2 years ago
.gitignore b67b485b21 convert 50 samples 2 years ago
.pre-commit-config.yaml 4746f00bfa update code, test, refactor and lint 2 years ago
01_indexing_source_data.ipynb 29f8f6224f [DATALAD] Recorded changes 2 years ago
02_BEP032_templater.ipynb 2de410cb56 refactor and add tests 2 years ago
03_neo_conversion.ipynb b67b485b21 convert 50 samples 2 years ago
README.md 4746f00bfa update code, test, refactor and lint 2 years ago
config_bids_filename.json 4746f00bfa update code, test, refactor and lint 2 years ago
config_pybids.json 4746f00bfa update code, test, refactor and lint 2 years ago
convert.py 4746f00bfa update code, test, refactor and lint 2 years ago
participants_map.csv 29f8f6224f [DATALAD] Recorded changes 2 years ago
participants_map_short.csv 209856aba6 deal with scans TSVs 2 years ago
requirements.txt 4746f00bfa update code, test, refactor and lint 2 years ago
test_convert.py 4746f00bfa update code, test, refactor and lint 2 years ago
test_utils.py 4746f00bfa update code, test, refactor and lint 2 years ago
utils.py 4746f00bfa update code, test, refactor and lint 2 years ago

README.md

Install

Inside a virtual environment (conda or virtualenv or whatever floats your boat ⛵)

This will install BEP032tools and the Neo "bleeding edge"

pip install -r requirements.txt
cd lib/BEP032tools
pip install .[tools]
cd ../python_neo
python setup.py install

pybids config

Because pybids does not yet support ephys or microscopy, we use a modified config for it.

running the conversion

code/01_indexing_source_data.ipynb goes through the sourcedata and creates a listing between each file to convert and the entities that will be associated with it.