Skip to content

Commit

Permalink
Merge branch 'release' - publish for v1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
yingzhanguri committed May 12, 2022
2 parents e23f803 + f63e796 commit f6724ff
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
v1.2.1 (2022-05-12)
------------------
- fix bug in `generate-database`
- revise formatting of doc

v1.2 (2022-05-10)
------------------

Expand Down
4 changes: 2 additions & 2 deletions docs/tutorial/generating_models.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ organism of interest within the class Mollicutes.
Basic use of the ``generate-database`` command
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
----------------------------------------------

As noted above, the `generate-database` command uses an annotation file to
query the KEGG database and download reaction data. You will need an
Expand Down Expand Up @@ -129,7 +129,7 @@ column in the table specified with `--annotations`
Basic use of the ``generate-transporters`` command
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--------------------------------------------------

In addition to the database of metabolic reactions, another important
component of metabolic models is the presence of transporters. These
Expand Down
3 changes: 1 addition & 2 deletions psamm/generate_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -921,8 +921,7 @@ def init_parser(cls, parser):
def run(self):
"""Entry point for the database generation script"""
# check if required packages are installed
if 'Bio.KEGG.Enzyme' not in sys.modules or \
'Bio.KEGG.REST' not in sys.modules:
if 'Bio.KEGG.REST' not in sys.modules:
quit('No biopython package found. '
'Please run <pip install biopython>''')
if "libchebipy._chebi_entity" not in sys.modules:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

setup(
name='psamm',
version='1.2',
version='1.2.1',
description='PSAMM metabolic modeling tools',
maintainer='Jon Lund Steffensen',
maintainer_email='[email protected]',
Expand Down

0 comments on commit f6724ff

Please sign in to comment.