Skip to content

Commit

Permalink
Merge pull request #228 from rly/patch-1
Browse files Browse the repository at this point in the history
Update install instructions for caimanmanager
  • Loading branch information
kushalkolar committed Oct 11, 2023
2 parents 09a81f8 + 65f4542 commit 7c4cdc2
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: install mesmerize-core
run: |
mamba env update -n base --file environment.yml
caimanmanager.py install
caimanmanager install
pip install .
- name: Test with pytest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux-pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
cd CaImAn
pip install -r requirements.txt
pip install .
caimanmanager.py install
caimanmanager install
- name: Install mesmerize-core
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: install mesmerize-core
run: |
mamba env update -n base --file environment.yml
caimanmanager.py install
caimanmanager install
pip install .
- name: Test with pytest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ jobs:
run: |
conda activate mescore
mamba install pytest
caimanmanager.py install
caimanmanager install
pip install .
DOWNLOAD_GROUND_TRUTHS=1 pytest -s .
16 changes: 6 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,17 +116,13 @@ mamba activate mescore

4. Install `caimanmanager`

```bash
caimanmanager.py install
```

The `caimanmanager.py` step may cause issues, especially on Windows. Assuming your anaconda is in your user directory a workaround is to call it using the full path:
If you are using an older version of `caiman` < 1.9.16, then please see [Step 4 in the old README](https://github.com/nel-lab/mesmerize-core/blob/09a81f856a6728cc3aff62f967d2dce308214c63/README.md#conda).

```bash
python C:\Users\your-username\anaconda3\envs\your-env-name\bin\caimanmanager.py install
caimanmanager install
```

If you continue to have issues with this step, please post an issue on the caiman github or gitter: https://github.com/flatironinstitute/CaImAn/issues
If you have issues with this step, please post an issue on the caiman github or gitter: https://github.com/flatironinstitute/CaImAn/issues

5. Run `ipython` and verify that `mesmerize_core` is installed:

Expand Down Expand Up @@ -168,7 +164,7 @@ git clone https://github.com/flatironinstitute/CaImAn.git
cd CaImAn
pip install -r requirements.txt
pip install .
caimanmanager.py install
caimanmanager install

# install mesmerize-core
pip install mesmerize-core
Expand Down Expand Up @@ -212,7 +208,7 @@ cd mesmerize-core
mamba env update -n mesmerize-core --file environment.yml

# install caimanmanager
caimanmanager.py install
caimanmanager install

# install mesmerize-core
pip install .
Expand Down Expand Up @@ -242,7 +238,7 @@ git clone https://github.com/flatironinstitute/CaImAn.git
cd CaImAn
pip install -r requirements.txt
pip install .
caimanmanager.py install
caimanmanager install

# clone this repo and install mesmerize-core
cd ..
Expand Down

0 comments on commit 7c4cdc2

Please sign in to comment.