-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merging now since this is currently only an internal use and there are members who are using CC and could use the help of these docs.
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,6 +56,39 @@ Once you are ready, you can save your file: | |
pipeline.save(pipeline.get_derivative_path(bids_path), overwrite=True) | ||
``` | ||
|
||
## ▶️ Example HPC Environment Setup | ||
|
||
Assuming you are on a system such as [Narval](https://docs.alliancecan.ca/wiki/Narval/en): | ||
|
||
```bash | ||
module load python/3.10 | ||
|
||
# Build the virtualenv in your homedir | ||
virtualenv --no-download eeg-env | ||
source eeg-env/bin/activate | ||
|
||
pip install --no-index mne | ||
pip install --no-index pandas | ||
pip install --no-index xarray | ||
pip install --no-index pyyaml | ||
pip install --no-index sklearn | ||
pip install mne_bids | ||
|
||
# Clone down mne-iclabel and switch to the right version and install it locally | ||
git clone https://github.com/mne-tools/mne-icalabel.git | ||
cd mne-icalabel | ||
git checkout maint/0.4 | ||
pip install . | ||
|
||
# Clone down pipeline and install without reading dependencies | ||
git clone [email protected]:lina-usc/pylossless.git | ||
cd pylossless | ||
pip install --no-deps . | ||
|
||
# Verify that the package has installed correct with an import | ||
python -c 'import pylossless' | ||
``` | ||
|
||
## 👩💻 Dashboard Review | ||
[![Open in Colab](https://camo.githubusercontent.com/84f0493939e0c4de4e6dbe113251b4bfb5353e57134ffd9fcab6b8714514d4d1/68747470733a2f2f636f6c61622e72657365617263682e676f6f676c652e636f6d2f6173736574732f636f6c61622d62616467652e737667)](https://colab.research.google.com/github/lina-usc/pylossless/blob/main/notebooks/qc_example.ipynb) | ||
|
||
|