forked from LorenFrankLab/spyglass
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Across `pyproject.toml` and both `environment.yml`: - Alphabetical sort to allow for easier comparison across toml/yaml files. - Remove dependencies required by other dependencies to reduce build time. - Move `black` to `test` dependencies. Could be `dev` instead? - Move `click` to `test` dependencies. CLI should be its own package. - Add ruff config to `pyproject.toml`. Flake8 replacement to allow removal of `setup.cfg`. - Remove `tqdm`, as it is required by `datajoint` Standard environment: - Add comments for all dependencies specific to position environment to allow for easier comparison across yaml files. - Remove `dask`, as it is required by `ghostipy` - Remove `hdmf`, as it is required by `pynwb` - Remove `pymysql`, as it is required by `datajoint` - Remove `pyyaml`, as it is required by `sortingview` - Remove `pydotplus` from `pip` section, as it is already in `conda` section Position environment: - Rename `_position` or `-position` to `_dlc` or `-dlc` to be more precise. - Remove `ipython`, `numba`, and `tensorflow`, as they are all required by `deeplabcut` - Add items present in standard environment but not in position environment.
- Loading branch information
Showing
8 changed files
with
125 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,53 @@ | ||
# 1. Install a conda distribution. | ||
# https://mamba.readthedocs.io/en/latest/installation/mamba-installation.html | ||
# 2. Run: `mamba env create -f environment.yml` | ||
# 3. Activate: `conda activate spyglass` | ||
# | ||
# (lines intentionally left blank) | ||
# | ||
# | ||
name: spyglass | ||
channels: | ||
- conda-forge | ||
- defaults | ||
# - pytorch # dlc-only | ||
- franklab | ||
- edeno | ||
dependencies: | ||
- python>=3.9,<3.10 | ||
- bottleneck | ||
# - cudatoolkit=11.3 # dlc-only | ||
# - cupy # dlc-only | ||
# - dask-cuda # dlc-only | ||
# - ffmpeg # dlc-only | ||
- ipympl | ||
- jupyterlab>=3.* | ||
- pydotplus | ||
- dask | ||
# - libgcc # dlc-only | ||
- matplotlib | ||
- non_local_detector | ||
- numpy<1.24 | ||
- pip | ||
- position_tools | ||
- numpy<1.24 | ||
- track_linearization>=2.3 | ||
# - pybind11 # dlc-only | ||
- pydotplus | ||
- pyfftw<=0.12.0 # ghostipy req. install from conda-forge for Mac ARM | ||
- python>=3.9,<3.10 | ||
- pytorch<1.12.0 | ||
- replay_trajectory_classification | ||
- ripple_detection | ||
- non_local_detector | ||
- matplotlib | ||
- seaborn | ||
- bottleneck | ||
- ipympl | ||
- tqdm | ||
- pyfftw<=0.12.0 # used by ghostipy. install from conda-forge so that it works on Mac ARM processors | ||
# - torchaudio # dlc-only | ||
# - torchvision # dlc-only | ||
- track_linearization>=2.3 | ||
# - trajectory_analysis_tools # dlc-only | ||
- pip: | ||
- pubnub<6.4.0 | ||
- spikeinterface>=0.98.2,<0.99 | ||
- pynwb>=2.2.0,<3 | ||
- hdmf>=3.4.6 | ||
- datajoint>=0.13.6 | ||
- ghostipy | ||
- pymysql | ||
- sortingview>=0.11 | ||
# - deeplabcut<2.3.0 # dlc-only | ||
- figurl-jupyter | ||
- git+https://github.com/LorenFrankLab/ndx-franklab-novela.git | ||
- pyyaml | ||
- click | ||
- "black[jupyter]" | ||
- ghostipy # for common_filter | ||
- ndx-franklab-novela>=0.1.0 | ||
- mountainsort4 | ||
- pubnub<=6.4.0 | ||
- pynwb>=2.2.0,<3 | ||
- sortingview>=0.11 | ||
- spikeinterface>=0.98.2,<0.99 | ||
- . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# 1. INSTALL CORRECT DRIVER for your GPU-equipped machine. | ||
# see https://stackoverflow.com/questions/30820513/what-is-the-correct-version-of-cuda-for-my-nvidia-driver/30820690 | ||
# 2. install: mamba env create -f environment_dlc.yml | ||
# update existing install: mamba env update -f environment_dlc.yml | ||
# 2. After installing... | ||
# run: conda activate spyglass-dlc | ||
# run: mamba env config vars set LD_LIBRARY_PATH=~/path/to/<anaconda3 or mambaforge>/envs/spyglass-position/lib/ | ||
# run: mamba install -c conda-forge wxpython | ||
name: spyglass-dlc | ||
channels: | ||
- conda-forge | ||
- defaults | ||
- pytorch # dlc-only | ||
- franklab | ||
- edeno | ||
dependencies: | ||
- bottleneck | ||
- cudatoolkit=11.3 # dlc-only | ||
- cupy # dlc-only | ||
- dask-cuda # dlc-only | ||
- ffmpeg # dlc-only | ||
- ipympl | ||
- jupyterlab>=3.* | ||
- libgcc # dlc-only | ||
- matplotlib | ||
- non_local_detector | ||
- numpy<1.24 | ||
- pip>=20.2.* | ||
- position_tools | ||
- pybind11 #To avoid isosplit5 build error. Req by mountainsort4 | ||
- pydotplus>=2.0.* | ||
- pyfftw<=0.12.0 # ghostipy req. install from conda-forge for Mac ARM | ||
- python>=3.9,<3.10 | ||
- pytorch<1.12.0 | ||
- replay_trajectory_classification | ||
- ripple_detection | ||
- seaborn | ||
- torchaudio # dlc-only | ||
- torchvision # dlc-only | ||
- track_linearization>=2.3 | ||
- trajectory_analysis_tools # dlc-only | ||
- pip: | ||
- datajoint>=0.13.6 | ||
- deeplabcut<2.3.0 | ||
- figurl-jupyter | ||
- ghostipy # for common_filter | ||
- ndx-franklab-novela>=0.1.0 | ||
- mountainsort4 | ||
- pubnub<=6.4.0 | ||
- pynwb>=2.2.0,<3 | ||
- sortingview>=0.11 | ||
- spikeinterface>=0.98.2,<0.99 | ||
- .[dlc] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[flake8] | ||
[flake8] # Planned for removal in favor of Ruff | ||
max-line-length = 80 | ||
max-complexity = 17 | ||
exclude = | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters