INNER CODE UNIT · Python
__init__
broadinstitute/viral-ngs · src/viral_ngs/core/__init__.py:126
def __init__(self):
self.attempts = 0
def is_attempted(self):
return self.attempts
def attempt_install(self): # Override _attempt_install, not this.
self.attempts += 1
self._attempt_install()
def _attempt_install(self):
raise NotImplementedError
def is_installed(self):
raise NotImplementedError
def executable_path(self):
raise NotImplementedError