Skip to content

Commit

Permalink
Fixing dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
swansonk14 committed May 9, 2024
1 parent 07c76d4 commit 1e5d1a8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ pip install -e .

By default, the pip installation only includes dependencies required for making ADMET predictions, either via the
command line or via the Python API. To install dependencies required for processing TDC data or plotting TDC results,
run `pip install admet_ai[tdc]`. To install dependencies required for hosting the ADMET-AI web server,
run `pip install admet_ai[web]`.
run `pip install admet-ai[tdc]`. To install dependencies required for hosting the ADMET-AI web server,
run `pip install admet-ai[web]`.

If there are version issues with the required packages, create a conda environment with specific working versions of the
packages as follows.
Expand Down Expand Up @@ -99,7 +99,7 @@ properties.
### Web server

ADMET predictions can be made using the ADMET-AI web server, as illustrated below. Note: Running the following command
requires additional web dependencies (i.e., `pip install admet_ai[web]`).
requires additional web dependencies (i.e., `pip install admet-ai[web]`).

```bash
admet_web
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ openpyxl==3.1.2
pandas==2.1.0
PyTDC==0.4.1
rdkit==2023.3.3
seaborn==0.13.0
tqdm==4.66.1
typed-argument-parser==1.9.0
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,15 @@
"chemfunc>=1.0.4",
"chemprop==1.6.1",
"numpy",
"pandas",
"pandas>=2.0.0,<2.2.0", # remove this limit once rdkit implements a fix to PandasTools
"rdkit>=2023.3.3",
"seaborn",
"tqdm",
"typed-argument-parser>=1.9.0",
],
extras_require={
"tdc": ["openpyxl", "PyTDC>=0.4.1", "seaborn"],
"web": ["flask", "gunicorn", "seaborn"],
"tdc": ["openpyxl", "PyTDC>=0.4.1"],
"web": ["flask", "gunicorn"],
},
python_requires=">=3.10",
classifiers=[
Expand Down

0 comments on commit 1e5d1a8

Please sign in to comment.