/usr/lib/python3/dist-packages/biomaj/options.py is in python3-biomaj3 3.1.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | from builtins import object
class Options(object):
"""
Available options
"""
def __init__(self, options=None):
self.options = options
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'
|