-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update graph.py to support set_backend function I also made a fuction to see the available backends and get the current backend * Apply private _available_backends suggestions from code review This commit contains the suggested changes regarding making the available_backends variable private, and refactoring the get_available_backends method to available_backends Co-authored-by: Rocco Meli <r.meli@bluemail.ch> * Print warning when backend is already set + make sure we use _available_backends everywhere where possible * remove reliance on environment variables * make _validate_backend function print warning when a certain backend isn't installed * Use precommit hooks add __all__ back refactor _alias_backendDict to _alias_to_backend * Update ValueError message Co-authored-by: Rocco Meli <r.meli@bluemail.ch> * Don't return the backend when setting it Co-authored-by: Rocco Meli <r.meli@bluemail.ch> * Add dummy function to make mypy happy remove __all__ assignment * fist play with rustworkx backend * add documentation for backend selection * add cli backend selection * cleanup * changelog * apply @Jnelen suggestion and add warning filter * make molecule test also more robust * add rx to ci * add rustworkx to all backends tests * add back graphtool * add rx to test all backends and add verbose mode * Update test_molecule.py --------- Co-authored-by: jnelen <jnelen@ucam.edu> Co-authored-by: Jochem Nelen <78348388+Jnelen@users.noreply.github.com>
- Loading branch information
1 parent
fbff4a3
commit f250c3e
Showing
12 changed files
with
307 additions
and
11 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
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: spyrmsd | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
# Base | ||
- python | ||
- setuptools | ||
|
||
# Maths | ||
- numpy | ||
- scipy | ||
- rustworkx | ||
|
||
# Chemistry | ||
- openbabel | ||
|
||
# Testing | ||
- pytest | ||
- pytest-cov | ||
- pytest-benchmark | ||
|
||
# Dev | ||
- mypy | ||
- flake8 | ||
- black | ||
- codecov |
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 |
---|---|---|
|
@@ -12,6 +12,7 @@ dependencies: | |
- scipy | ||
- graph-tool | ||
- networkx>=2 | ||
- rustworkx | ||
|
||
# Chemistry | ||
- rdkit | ||
|
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: spyrmsd | ||
channels: | ||
- conda-forge | ||
- rdkit | ||
dependencies: | ||
# Base | ||
- python | ||
- setuptools | ||
|
||
# Maths | ||
- numpy | ||
- scipy | ||
- rustworkx | ||
|
||
# Chemistry | ||
- rdkit | ||
|
||
# Testing | ||
- pytest | ||
- pytest-cov | ||
- pytest-benchmark | ||
|
||
# Dev | ||
- mypy | ||
- flake8 | ||
- black | ||
- codecov |
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
Oops, something went wrong.