-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #105 from cryoem-uoft/spm
Software Platform Modernization (tools)
- Loading branch information
Showing
82 changed files
with
6,959 additions
and
2,843 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 |
---|---|---|
|
@@ -66,5 +66,6 @@ ipython_config.py | |
.ruff_cache | ||
.vercel | ||
cryosparc/core.c | ||
cryosparc/dataset/core.c | ||
*.dSYM | ||
cython_debug |
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
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
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 |
---|---|---|
|
@@ -19,7 +19,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for full details. | |
### Prerequisites | ||
|
||
- Git and Git LFS | ||
- Python >= 3.7 | ||
- Python >= 3.8 | ||
- Miniconda3 | ||
- C compiler such as GCC or Clang | ||
|
||
|
@@ -117,27 +117,23 @@ rm -rf cryosparc/*.so build dist *.egg-info | |
Install dependencies into a new conda environment: | ||
|
||
```sh | ||
conda create -n cryosparc-tools-example -c conda-forge \ | ||
python=3 numpy==1.18.5 \ | ||
pyqt=5 libtiff wxPython=4.1.1 adwaita-icon-theme | ||
conda create -n cryosparc-tools-example -c conda-forge python=3 numpy=1.18.5 \ | ||
pyqt=5 libtiff wxPython=4.1.1 adwaita-icon-theme 'setuptools<66' # exclude these dependencies if you don't need cryolo | ||
conda activate cryosparc-tools-example | ||
pip install -U pip | ||
pip install nvidia-pyindex matplotlib~=3.4.0 pandas==1.1.4 notebook | ||
pip install "cryolo[c11]" | ||
pip install -e ".[build]" | ||
pip install cryosparc-tools matplotlib~=3.4.0 pandas~=1.1.0 notebook | ||
pip install nvidia-pyindex # exclude last two steps if you don't need cryolo | ||
pip install 'cryolo[c11]' | ||
``` | ||
|
||
Run the notebook server with the following environment variables: | ||
|
||
- `CRYOSPARC_LICENSE_ID` with Structura-issued CryoSPARC license | ||
- `CRYOSPARC_EMAIL` with a CryoSPARC user account email | ||
- `CRYOSPARC_PASSWORD` with a CryoSPARC user account password | ||
|
||
You may also need to include `LD_LIBRARY_PATH` which includes the location of | ||
CUDA Toolkit and cuDNN runtime libraries (e.g., `~/miniconda3/envs/tools/lib/python3.8/site-packages/nvidia/*/lib`). | ||
|
||
``` | ||
CRYOSPARC_LICENSE_ID="xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" \ | ||
CRYOSPARC_EMAIL="[email protected]" \ | ||
CRYOSPARC_PASSWORD="password123" \ | ||
jupyter notebook | ||
|
Oops, something went wrong.