diff --git a/cometspy/params.py b/cometspy/params.py index 331e952..58646c1 100644 --- a/cometspy/params.py +++ b/cometspy/params.py @@ -31,6 +31,12 @@ def set_param(self, name, value): else: print('Parameter ' + name + ' does not exist') + def get_param(self, name): + if name in self.all_params: + return self.all_params[name] + else: + print('Parameter ' + name + ' does not exist') + def __init__(self, global_params=None, package_params=None): self.all_params = {'writeSpecificMediaLog': False, 'specificMediaLogRate': 1, diff --git a/dist/cometspy-0.3.11.tar.gz b/dist/cometspy-0.3.11.tar.gz new file mode 100644 index 0000000..376d096 Binary files /dev/null and b/dist/cometspy-0.3.11.tar.gz differ diff --git a/setup.py b/setup.py index 1a226ce..15fef4f 100644 --- a/setup.py +++ b/setup.py @@ -4,13 +4,13 @@ setup( name='cometspy', packages=['cometspy'], - version='0.3.11', + version='0.4.0', license='GPL', description='The Python interface to COMETS', author='The COMETSPy Core Team', author_email='djordje.bajic@yale.edu', url='https://github.com/segrelab/cometspy', - download_url='https://github.com/segrelab/cometspy/archive/v0.3.11.tar.gz', # New releases here!! + download_url='https://github.com/segrelab/cometspy/archive/v0.4.0.tar.gz', # New releases here!! keywords=['metabolism', 'dynamic', 'flux', 'balance', 'analysis', 'spatial', 'evolution'], install_requires=[ # I get to this in a second