forked from SynBioDex/Excel-to-SBOL
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added check to make sure all options have something selected
- Loading branch information
1 parent
60c1b12
commit f0942a7
Showing
3 changed files
with
40 additions
and
18 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 |
---|---|---|
@@ -1,6 +1,19 @@ | ||
#!/bin/bash | ||
python3 -m venv venv | ||
. venv/bin/activate | ||
pip install -r src/requirements.txt | ||
python src/main.py | ||
rm -r venv | ||
|
||
if [[ "$@" == *"--clean"* ]]; then | ||
rm -r venv | ||
fi | ||
|
||
if [ ! -d "venv" ]; then | ||
python3 -m venv venv | ||
. venv/bin/activate | ||
pip install -r src/requirements.txt | ||
else | ||
. venv/bin/activate | ||
fi | ||
|
||
if [[ "$@" == *"--debug"* ]]; then | ||
python3 src/main.py --debug | ||
else | ||
python src/main.py | ||
fi |
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