Skip to content

Commit

Permalink
Merge pull request #79 from OpenDrugDiscovery/interaction_impr
Browse files Browse the repository at this point in the history
Interaction dataset refactoring
  • Loading branch information
shenoynikhil authored Apr 8, 2024
2 parents ed73e7d + a5ced0a commit a21963e
Show file tree
Hide file tree
Showing 14 changed files with 520 additions and 769 deletions.
21 changes: 20 additions & 1 deletion openqdc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def get_project_root():
_lazy_imports_obj = {
"__version__": "openqdc._version",
"BaseDataset": "openqdc.datasets.base",
# POTENTIAL
"ANI1": "openqdc.datasets.potential.ani",
"ANI1CCX": "openqdc.datasets.potential.ani",
"ANI1X": "openqdc.datasets.potential.ani",
Expand All @@ -32,12 +33,23 @@ def get_project_root():
"SolvatedPeptides": "openqdc.datasets.potential.solvated_peptides",
"WaterClusters": "openqdc.datasets.potential.waterclusters3_30",
"TMQM": "openqdc.datasets.potential.tmqm",
"Dummy": "openqdc.datasets.potential.dummy",
"PCQM_B3LYP": "openqdc.datasets.potential.pcqm",
"PCQM_PM6": "openqdc.datasets.potential.pcqm",
"RevMD17": "openqdc.datasets.potential.revmd17",
"Transition1X": "openqdc.datasets.potential.transition1x",
"MultixcQM9": "openqdc.datasets.potential.multixcqm9",
# INTERACTION
"DES5M": "openqdc.datasets.interaction.des",
"DES370K": "openqdc.datasets.interaction.des",
"DESS66": "openqdc.datasets.interaction.des",
"DESS66x8": "openqdc.datasets.interaction.des",
"L7": "openqdc.datasets.interaction.l7",
"X40": "openqdc.datasets.interaction.x40",
"Metcalf": "openqdc.datasets.interaction.metcalf",
"Splinter": "openqdc.datasets.interaction.splinter",
# DEBUG
"Dummy": "openqdc.datasets.potential.dummy",
# ALL
"AVAILABLE_DATASETS": "openqdc.datasets",
"AVAILABLE_POTENTIAL_DATASETS": "openqdc.datasets.potential",
"AVAILABLE_INTERACTION_DATASETS": "openqdc.datasets.interaction",
Expand Down Expand Up @@ -75,6 +87,13 @@ def __dir__():
from ._version import __version__ # noqa
from .datasets import AVAILABLE_DATASETS # noqa
from .datasets.base import BaseDataset # noqa

# INTERACTION
from .datasets.interaction.des import DES5M, DES370K, DESS66, DESS66x8 # noqa
from .datasets.interaction.l7 import L7 # noqa
from .datasets.interaction.metcalf import Metcalf # noqa
from .datasets.interaction.splinter import Splinter # noqa
from .datasets.interaction.x40 import X40 # noqa
from .datasets.potential.ani import ANI1, ANI1CCX, ANI1X # noqa
from .datasets.potential.comp6 import COMP6 # noqa
from .datasets.potential.dummy import Dummy # noqa
Expand Down
132 changes: 0 additions & 132 deletions openqdc/datasets/interaction/L7.py

This file was deleted.

84 changes: 0 additions & 84 deletions openqdc/datasets/interaction/X40.py

This file was deleted.

9 changes: 3 additions & 6 deletions openqdc/datasets/interaction/__init__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
from .base import BaseInteractionDataset # noqa
from .des5m import DES5M
from .des370k import DES370K
from .dess66 import DESS66
from .dess66x8 import DESS66x8
from .L7 import L7
from .des import DES5M, DES370K, DESS66, DESS66x8
from .l7 import L7
from .metcalf import Metcalf
from .splinter import Splinter
from .X40 import X40
from .x40 import X40

AVAILABLE_INTERACTION_DATASETS = {
"des5m": DES5M,
Expand Down
Loading

0 comments on commit a21963e

Please sign in to comment.