Spaces:
Runtime error
Runtime error
File size: 478 Bytes
753e275 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
import abc
from typing import List
FilePath = str
class DockingEngine(abc.ABC):
@abc.abstractmethod
def __enter__(self):
pass
@abc.abstractmethod
def __exit__(self, typ, value, traceback):
pass
@abc.abstractmethod
def set_receptor(self, pdb_path: FilePath):
pass
@abc.abstractmethod
def set_ligand(self, pdb_path: FilePath):
pass
@abc.abstractmethod
def dock(self) -> List[FilePath]:
pass
|