Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update install instructions for caimanmanager #228

Merged
merged 8 commits into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading