Skip to content

Commit aebf71e

Browse files
Merge pull request #169 from picrust/v2.4.1
v2.4.1
2 parents 0d3150c + 3d68bb3 commit aebf71e

24 files changed

+39
-25
lines changed

picrust2/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
__copyright__ = "Copyright 2018-2021, PICRUSt Project"
55
__license__ = "GPL"
66
__url__ = "https://github.com/picrust/picrust2"
7-
__version__ = "2.4.0"
7+
__version__ = "2.4.1"

picrust2/default.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
__copyright__ = "Copyright 2018-2021, The PICRUSt Project"
44
__license__ = "GPL"
5-
__version__ = "2.4.0"
5+
__version__ = "2.4.1"
66

77
from os import path
88

picrust2/metagenome_pipeline.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
__copyright__ = "Copyright 2018-2021, The PICRUSt Project"
44
__license__ = "GPL"
5-
__version__ = "2.4.0"
5+
__version__ = "2.4.1"
66

77
import sys
88
import pandas as pd

picrust2/pathway_pipeline.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
__copyright__ = "Copyright 2018-2021, The PICRUSt Project"
44
__license__ = "GPL"
5-
__version__ = "2.4.0"
5+
__version__ = "2.4.1"
66

77
import sys
88
from collections import defaultdict

picrust2/pipeline.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
__copyright__ = "Copyright 2018-2021, The PICRUSt Project"
44
__license__ = "GPL"
5-
__version__ = "2.4.0"
5+
__version__ = "2.4.1"
66

77
from os import path
88
import sys

picrust2/place_seqs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
__copyright__ = "Copyright 2018-2021, The PICRUSt Project"
44
__license__ = "GPL"
5-
__version__ = "2.4.0"
5+
__version__ = "2.4.1"
66

77
import sys
88
from os import path, chdir, getcwd

picrust2/util.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
__copyright__ = "Copyright 2018-2021, The PICRUSt Project"
44
__license__ = "GPL"
5-
__version__ = "2.4.0"
5+
__version__ = "2.4.1"
66

77
from os import makedirs, chmod
88
from os.path import abspath, dirname, isdir, join, exists, splitext

picrust2/wrap_hsp.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
__copyright__ = "Copyright 2018-2021, The PICRUSt Project"
44
__license__ = "GPL"
5-
__version__ = "2.4.0"
5+
__version__ = "2.4.1"
66

77
from os import path
88
import sys

scripts/add_descriptions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
__copyright__ = "Copyright 2018-2021, The PICRUSt Project"
44
__license__ = "GPL"
5-
__version__ = "2.4.0"
5+
__version__ = "2.4.1"
66

77
import argparse
88
from picrust2.default import default_map

scripts/convert_table.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
__copyright__ = "Copyright 2018-2021, The PICRUSt Project"
44
__license__ = "GPL"
5-
__version__ = "2.4.0"
5+
__version__ = "2.4.1"
66

77
import argparse
88
from picrust2.util import (check_files_exist, contrib_to_legacy,

scripts/hsp.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
__copyright__ = "Copyright 2018-2021, The PICRUSt Project"
44
__license__ = "GPL"
5-
__version__ = "2.4.0"
5+
__version__ = "2.4.1"
66

77
import argparse
88
from picrust2.wrap_hsp import castor_hsp_workflow

scripts/metagenome_pipeline.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
__copyright__ = "Copyright 2018-2021, The PICRUSt Project"
44
__license__ = "GPL"
5-
__version__ = "2.4.0"
5+
__version__ = "2.4.1"
66

77
import argparse
88
from os import path

scripts/pathway_pipeline.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
__copyright__ = "Copyright 2018-2021, The PICRUSt Project"
44
__license__ = "GPL"
5-
__version__ = "2.4.0"
5+
__version__ = "2.4.1"
66

77
import argparse
88
from picrust2.pathway_pipeline import pathway_pipeline

scripts/picrust2_pipeline.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
__copyright__ = "Copyright 2018-2021, The PICRUSt Project"
44
__license__ = "GPL"
5-
__version__ = "2.4.0"
5+
__version__ = "2.4.1"
66

77
import argparse
88
from os import path

scripts/place_seqs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
__copyright__ = "Copyright 2018-2021, The PICRUSt Project"
44
__license__ = "GPL"
5-
__version__ = "2.4.0"
5+
__version__ = "2.4.1"
66

77
import argparse
88
from picrust2.place_seqs import place_seqs_pipeline

scripts/print_picrust2_config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
__copyright__ = "Copyright 2018-2021, The PICRUSt Project"
44
__license__ = "GPL"
5-
__version__ = "2.4.0"
5+
__version__ = "2.4.1"
66

77
from sys import platform, version as python_version, executable
88

scripts/shuffle_predictions.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
__copyright__ = "Copyright 2018-2021, The PICRUSt Project"
44
__license__ = "GPL"
5-
__version__ = "2.4.0"
5+
__version__ = "2.4.1"
66

77
import argparse
88
from picrust2.util import check_files_exist, shuffle_predictions
@@ -39,7 +39,7 @@
3939
parser.add_argument('-s', '--seed', default=None, metavar='INT',
4040
required=False, type=int,
4141
help="Random seed: set this if you want reproducible "
42-
"shufflings (default: %(default)d).")
42+
"shufflings (default: None).")
4343

4444
parser.add_argument('-v', '--version', default=False, action='version',
4545
version='%(prog)s ' + __version__)

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
__copyright__ = "Copyright 2018-2021, The PICRUSt Project"
77
__license__ = "GPL"
8-
__version__ = "2.4.0"
8+
__version__ = "2.4.1"
99
__maintainer__ = "Gavin Douglas"
1010

1111
long_description = ("Please visit the google group here if you have questions: "

tests/test_hsp.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
__copyright__ = "Copyright 2018-2021, The PICRUSt Project"
44
__license__ = "GPL"
5-
__version__ = "2.4.0"
5+
__version__ = "2.4.1"
66

77
import unittest
88
from os import path

tests/test_metagenome_pipeline.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
__copyright__ = "Copyright 2018-2021, The PICRUSt Project"
44
__license__ = "GPL"
5-
__version__ = "2.4.0"
5+
__version__ = "2.4.1"
66

77
import unittest
88
from os import path

tests/test_pathway_pipeline.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
__copyright__ = "Copyright 2018-2021, The PICRUSt Project"
44
__license__ = "GPL"
5-
__version__ = "2.4.0"
5+
__version__ = "2.4.1"
66

77
import unittest
88
import pandas as pd

tests/test_place_seqs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
__copyright__ = "Copyright 2018-2021, The PICRUSt Project"
44
__license__ = "GPL"
5-
__version__ = "2.4.0"
5+
__version__ = "2.4.1"
66

77
import unittest
88
import gzip

tests/test_util.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
__copyright__ = "Copyright 2018-2021, The PICRUSt Project"
44
__license__ = "GPL"
5-
__version__ = "2.4.0"
5+
__version__ = "2.4.1"
66

77
import unittest
88
from os import path

tests/test_workflow.py

+15-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
__copyright__ = "Copyright 2018-2021, The PICRUSt Project"
44
__license__ = "GPL"
5-
__version__ = "2.4.0"
5+
__version__ = "2.4.1"
66

77
import unittest
88
from os import path
@@ -35,6 +35,20 @@ class workflow_test(unittest.TestCase):
3535
catch incompatabilities between the different scripts that the other tests
3636
might not catch.'''
3737

38+
def test_help_calls(self):
39+
'''Quick test that help commands can be run for all scripts, which
40+
is a check that there are no obvious argparse syntax errors.'''
41+
42+
system_call_check("add_descriptions.py -h")
43+
system_call_check("convert_table.py -h")
44+
system_call_check("hsp.py -h")
45+
system_call_check("metagenome_pipeline.py -h")
46+
system_call_check("picrust2_pipeline.py -h")
47+
system_call_check("place_seqs.py -h")
48+
system_call_check("print_picrust2_config.py -h")
49+
system_call_check("pathway_pipeline.py -h")
50+
system_call_check("shuffle_predictions.py -h")
51+
3852
def test_full_pipeline_tsv(self):
3953
'''Test that full pipeline can be run without error with
4054
TSV sequence abundance table.'''

0 commit comments

Comments
 (0)