Skip to content

Commit a2a73c4

Browse files
authored
Remove viz deps + run pyupgrade 3.11 (#155)
* Remove viz deps + run pyupgrade 3.11 * Add missing dep to highlight the notebooks * need optinal deps to test notebook * fix dep name
1 parent 23356f7 commit a2a73c4

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

docs/environment.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ dependencies:
1919
- myst-parser
2020
- pydata-sphinx-theme
2121
- nbsphinx-link
22-
# vis
23-
- ipywidgets
24-
- py3Dmol
22+
- ipython_pygments_lexers
2523
# docs
2624
- pip:
2725
- git+https://github.com/OpenFreeEnergy/ofe-sphinx-theme@a45f3edd5bc3e973c1a01b577c71efa1b62a65d6

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dependencies:
2626
- myst-parser
2727
- pydata-sphinx-theme
2828
- nbsphinx-link
29-
# vis
29+
# opt
3030
- ipywidgets
3131
- py3Dmol
3232
# docs

src/kartograf/tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def fused_ring_mols() -> tuple[SmallMoleculeComponent, SmallMoleculeComponent]:
133133
atom ordering."""
134134
d = resources.files("kartograf.tests.data")
135135
rd_mols = [Chem.MolFromMolFile(str(f), removeHs=False) for f in [d / "biphenyl.sdf", d / "biaryl-indene.sdf"]]
136-
mol_a, mol_b = [SmallMoleculeComponent.from_rdkit(m) for m in rd_mols]
136+
mol_a, mol_b = (SmallMoleculeComponent.from_rdkit(m) for m in rd_mols)
137137
mol_b_to_a = align_mol_shape(mol_b, ref_mol=mol_a)
138138
return mol_a, mol_b_to_a
139139

0 commit comments

Comments
 (0)