Skip to content

Commit

Permalink
chore: linting and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
roshan committed Aug 29, 2024
1 parent cf5fe74 commit 4028774
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ preferred-citation:
month: 12
title: "PDBe CCDUtils: an RDKit-based toolkit for handling and analysing small molecules in the Protein Data Bank"
volume: 15
year: 2023
year: 2023
4 changes: 2 additions & 2 deletions pdbeccdutils/computations/parity_method.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ def compare_molecules(template, query, thresh=0.01, exact_match=False):
template_copy = Chem.RWMol(template)
query_copy = Chem.RWMol(query)

#changing bondtype from DATIVE to ZERO as the SMARTS with DATIVE bondtype were missing
# substructures using GetSubstructMatches (e.g. HEM)
# changing bondtype from DATIVE to ZERO as the SMARTS with DATIVE bondtype were missing
# substructures using GetSubstructMatches (e.g. HEM)
# refer rdkit github issue https://github.com/rdkit/rdkit/issues/7280
mol_tools.change_bonds_type(template_copy, BondType.DATIVE, BondType.ZERO)
mol_tools.change_bonds_type(query_copy, BondType.DATIVE, BondType.ZERO)
Expand Down
2 changes: 1 addition & 1 deletion pdbeccdutils/tests/test_parity.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class TestParity:
("000", "000", 1.00),
("SAC", "GOL", 0.50),
("MAN", "GLC", 1.00),
("HEM", "HEM", 1.00)
("HEM", "HEM", 1.00),
],
)
def test_parity_method(id_1, id_2, score):
Expand Down

0 comments on commit 4028774

Please sign in to comment.