Skip to content

Commit

Permalink
GIT: update the package requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
anmorgunov committed Oct 24, 2023
1 parent 06ea887 commit ecc60ee
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 15 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Set up Python
uses: actions/setup-python@v2
with:
Expand All @@ -34,5 +29,10 @@ jobs:
- name: Run pytest
run: |
pytest tests/
pytest --cov tests/
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

8 changes: 8 additions & 0 deletions ChemSpaceAL/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,11 @@
- [ ] cite the DiffDock repo and cite it's license
- [ ] get rid of the `try/except` loop in `scoring/score_protein_ligand_pose.py`
- [ ] we need to possibly change AL construction procedure s.t. if `n_replicate` is False, more molecules are sampled from the training set until `training_size` is satisfied

## Misc

The requirements.txt is generated using

```bash
pipreqs ./ChemSpaceAL --ignore ./ChemSpaceAL/Docking.py --force
```
11 changes: 11 additions & 0 deletions ChemSpaceAL/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
numpy==1.24.3
pandas==1.5.3
plotly==5.16.1
prolif==2.0.1
PyYAML==6.0
rdkit==2023.3.1
scikit_learn==1.3.2
Sophia==0.1.1
torch
tqdm==4.64.1
wandb==0.15.4
27 changes: 18 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
from distutils.core import setup
from setuptools import setup

# Reading long description from README.md file
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()

with open("ChemSpaceAL/requirements.txt") as f:
required = f.read().splitlines()

setup(
name="ChemSpaceAL",
packages=["ChemSpaceAL"],
version="1.0.3",
version="1.0.0",
description="ChemSpaceAL Python package: an efficient active learning methodology applied to protein-specific molecular generation",
install_requires=[
# "prolif==2.0.0.post1",
# "rdkit==2023.3.3",
# "wandb==0.15.10",
],
long_description=long_description,
long_description_content_type="text/markdown",
author="Gregory W. Kyro, Anton Morgunov & Rafael I. Brent",
author_email="[email protected]",
url="https://github.com/gregory-kyro/ChemSpaceAL/tree/main",
url="https://github.com/batistagroup/ChemSpaceAL",
download_url="https://github.com/gregory-kyro/ChemSpaceAL/archive/refs/tags/v1.0.3.tar.gz",
keywords=[
"active learning",
Expand All @@ -23,5 +26,11 @@
"molecular generation",
"drug discovery",
],
classifiers=[],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=required,
python_requires=">=3.10",
)

0 comments on commit ecc60ee

Please sign in to comment.