deeprank2
deeprank2 copied to clipboard
Refactor duplicate code
-
utils/graph.py: build_atomic_graph / build_residue_graph
-
features/surfacearea.py:
- add_sasa_for_residues and add_sasa_for_atoms
- add_sasa and and_bsa can be fused
- test_surfacearea has duplicate code
-
query.py:
- SingleResidueVariantResidueQuery and SingleResidueVariantAtomicQuery
- ProteinProteinInterfaceAtomicQuery and ProteinProteinInterfaceResidueQuery
- also check for overlapping code between SingleResidueVariant and ProteinProteinInterface type classes
-
likely in other places as well
- there's often duplicate code for atomic and residue level graphs
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been inactive for 7 days since being marked as stale.
This issue was closed because it has been inactive for 7 days since being marked as stale.
was automatically closed, but not done. I will reopen it now