Skip to content

laMEG Developer's Guide

Decision, Action, and Neural Computation lab edited this page May 8, 2025 · 1 revision
  • Install the dependencies in dev_requirements.txt
pip install -r dev_requirements.txt
  • Before pushing any changes:
  1. Run pylint and correct any errors (from the base laMEG directory):
pylint --rcfile=./.pylintrc $(git ls-files '*.py')
  1. Run pytest and make sure all unit tests pass (from the base laMEG directory):
python -m pytest

If you have to go deeper (into SPM), head over to the DANC_spm_python repository wiki to learn how to recompile SPM after you've made your changes.

Clone this wiki locally