-
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.
docs(tools): README and CHANGELOG update
- Loading branch information
Showing
3 changed files
with
11 additions
and
10 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 |
---|---|---|
|
@@ -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 | ||
|
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 |
---|---|---|
|
@@ -188,7 +188,6 @@ environment variables. To do the same, define `CRYOSPARC_LICENSE`, | |
CryoSPARC license and login credentials: | ||
|
||
```sh | ||
CRYOSPARC_LICENSE_ID="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" \ | ||
CRYOSPARC_EMAIL="[email protected]" \ | ||
CRYOSPARC_PASSWORD="password123" \ | ||
jupyter notebook --no-browser --ip=0.0.0.0 --port=8888 | ||
|