Source code for biomaj.options
from builtins import object
[docs]class Options(object):
"""
Available options
"""
[docs] def get_option(self, option):
"""
Gets an option if present, else return None
"""
if hasattr(self, option):
return getattr(self, option)
return None
UPDATE = 'update'
REMOVE = 'remove'
PUBLISH = 'publish'
FROM_TASK = 'from_task'
PROCESS = 'process'
STOP_BEFORE = 'stop_before'
STOP_AFTER = 'stop_after'
FROMSCRATCH = 'fromscratch'