From d6dd686ab58307397910477633a6ed1cf01a9104 Mon Sep 17 00:00:00 2001 From: Dani Bodor Date: Thu, 7 Sep 2023 12:47:43 +0200 Subject: [PATCH] remove `_get_atom_node_key` method as discussed in issue #490 --- deeprank2/query.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/deeprank2/query.py b/deeprank2/query.py index a22d78e54..2c8cb6d98 100644 --- a/deeprank2/query.py +++ b/deeprank2/query.py @@ -160,17 +160,6 @@ def _load_structure(self, load_pssms: bool) -> PDBStructure: return structure - @staticmethod - def _get_atom_node_key(atom) -> str: - #TODO: check whether this method is still useful or just obsolete legacy code - """ - Since pickle has problems serializing the graph when the nodes are atoms, - this function can be used to generate a unique key for the atom. - """ - - # This should include the model, chain, residue and atom - return str(atom) - @property def model_id(self) -> str: """The ID of the model, usually a .PDB accession code."""