Skip to content

Commit

Permalink
Added sphinx requirement, deprecated chemspipy dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
timbernat committed Nov 19, 2024
1 parent f8541eb commit a7e34d6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions devtools/conda-envs/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ dependencies:
- pip
- jupyterlab

# Testing
# Testing and docs
- pytest
- pytest-cov
- codecov
- sphinx

# Numerical libraries
- numpy
Expand Down Expand Up @@ -46,6 +47,5 @@ dependencies:
# Chemical database queries
- cirpy
- pubchempy
- chemspipy
- pip:
- espaloma-charge ==0.0.8
5 changes: 3 additions & 2 deletions devtools/conda-envs/test-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ dependencies:
- pip
- jupyterlab

# Testing
# Testing and docs
- pytest
- pytest-cov
- codecov
- sphinx

# Numerical libraries
- numpy
Expand All @@ -27,6 +28,7 @@ dependencies:

# Molecule building
- mbuild
- openbabel
- rdkit
- openeye-toolkits # TODO: consider making this optional?

Expand All @@ -45,6 +47,5 @@ dependencies:
# Chemical database queries
- cirpy
- pubchempy
- chemspipy
- pip:
- espaloma-charge ==0.0.8
4 changes: 1 addition & 3 deletions polymerist/smileslib/chemdbqueries.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,4 @@ def get_property_from_smiles(smiles : str, prop_name : str='iupac_name') -> Opti
if pc_prop_name in prop_query:
return prop_query[pc_prop_name]
else:
return None

# TODO : add ChemSpider once I can obtain an API key (https://chemspipy.readthedocs.io/en/latest/guide/intro.html#apikey)
return None

0 comments on commit a7e34d6

Please sign in to comment.