-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
79 additions
and
59 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,3 +1,3 @@ | ||
echo Activating virtual environment | ||
source ~/.bashrc | ||
conda activate DeepDockingRemote | ||
conda activate app-deepdocking-gui-remote |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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 |
---|---|---|
|
@@ -70,7 +70,7 @@ bash prepare_receptor.py receptor.pdb 'x_size,y_size,z_size' 'x_center,y_center, | |
- path_adt_scripts: path to folder with AutodockTools python scripts (prepare_receptor4.py, etc etc..) | ||
|
||
## 1. Starting up the GUI | ||
After installation, a new Conda environment on your local device called *DeepDockingLocal* should now be available. To start up the GUI, activate the *DeepDockingLocal* environment then navigate to `Deep-Docking/GUI` and run the appropriate command to start up the server. | ||
After installation, a new Conda environment on your local device called *app-deepdocking-gui* should now be available. To start up the GUI, activate the *app-deepdocking-gui* environment then navigate to `Deep-Docking/GUI` and run the appropriate command to start up the server. | ||
|
||
For mac and linux: | ||
```bash | ||
|
@@ -84,7 +84,7 @@ npm run start-win | |
After running the above, you should see something similar to the following: | ||
```bash | ||
> [email protected] start-win | ||
> conda activate DeepDockingLocal && set FLASK_APP=server.py && set FLASK_ENV=local_host && flask run | ||
> conda activate app-deepdocking-gui && set FLASK_APP=server.py && set FLASK_ENV=local_host && flask run | ||
|
||
* Serving Flask app "server.py " | ||
* Environment: local_host | ||
|
@@ -178,7 +178,7 @@ From the top scoring tab (figure 7) we can download a list of the top 1000 molec | |
model_config = json.loads(model_config.decode('utf-8')) | ||
AttributeError: 'str' Object has no attribute 'decode' | ||
``` | ||
>This error is followed by an `IndexError` on line 264 of `get_model_image` and is most likely a dependancy issue with keras, make sure you have version 2.10.0 of `h5py` (versions 3.0+ cause issues) installed on the cluster side in the `DeepDockingRemote` conda environment. You can check the version by first activating the conda environment and then typing `pip show h5py`.<br> | ||
>This error is followed by an `IndexError` on line 264 of `get_model_image` and is most likely a dependancy issue with keras, make sure you have version 2.10.0 of `h5py` (versions 3.0+ cause issues) installed on the cluster side in the `app-deepdocking-gui-remote` conda environment. You can check the version by first activating the conda environment and then typing `pip show h5py`.<br> | ||
>You can install/downgrade it using pip: `pip install h5py==2.10.0` | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
installation/DeepDockingLocal.yml → installation/app-deepdocking-gui.yml
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,4 +1,4 @@ | ||
name: DeepDockingLocal | ||
name: app-deepdocking-gui | ||
channels: | ||
- conda-forge | ||
- bioconda | ||
|
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,8 @@ | ||
#!/bin/bash | ||
#!/bin/bash -l | ||
|
||
# Create the local env | ||
python3 install.py --phase install_local | ||
# Activate the env | ||
conda activate DeepDockingLocal 2> conda.out | ||
conda activate app-deepdocking-gui 2> conda.out | ||
# Install remote files and create remote env | ||
python3 install.py --phase install_remote |
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,3 +1,3 @@ | ||
python install.py --phase install_local | ||
call conda activate DeepDockingLocal > conda.out | ||
call conda activate app-deepdocking-gui > conda.out | ||
python install.py --phase install_remote |
Oops, something went wrong.