-
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.
Update Python dependencies and scripts
- Loading branch information
1 parent
38f19cf
commit 61f83aa
Showing
3 changed files
with
10 additions
and
39 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,8 +1,10 @@ | ||
# requirements setup and mamba for faster install for env | ||
source /opt/conda/etc/profile.d/conda.sh | ||
mamba env create -qq -f environment.yml | ||
# Check if the environment exists before creating it | ||
if ! conda env list | grep -q 'solvingmicrodsops'; then | ||
mamba env create -qq -f environment.yml | ||
fi | ||
|
||
# Activate the environment | ||
conda activate solvingmicrodsops | ||
|
||
# execute script to reproduce figures | ||
cd Code/ | ||
python StructEstimation.py | ||
# Execute script to reproduce figures | ||
python code/do_all.py |