Skip to content

Commit

Permalink
catching -t use and printing warning
Browse files Browse the repository at this point in the history
  • Loading branch information
aineniamh committed Feb 10, 2021
1 parent 7b44373 commit 391eb22
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pangolin/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
_program = "pangolin"
__version__ = "2.2.1"
__version__ = "2.2.2"
4 changes: 3 additions & 1 deletion pangolin/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def main(sysargs = sys.argv[1:]):
parser.add_argument('--min-length', action="store", default=10000, type=int,help="Minimum query length allowed for pangolin to attempt assignment. Default: 10000",dest="minlen")
parser.add_argument('--panGUIlin', action='store_true',help="Run web-app version of pangolin",dest="panGUIlin")
parser.add_argument("--verbose",action="store_true",help="Print lots of stuff to screen")
parser.add_argument("-t","--threads",action="store",help="Number of threads")
parser.add_argument("-v","--version", action='version', version=f"pangolin {__version__}")
parser.add_argument("-pv","--pangoLEARN-version", action='version', version=f"pangoLEARN {pangoLEARN.__version__}",help="show pangoLEARN's version number and exit")
parser.add_argument("--update", action='store_true', default=False, help="Automatically updates to latest release of pangolin and pangoLEARN, then exits")
Expand Down Expand Up @@ -117,7 +118,8 @@ def main(sysargs = sys.argv[1:]):
print(pfunk.green(f"--no-temp:") + "all intermediate files will be written to {outdir}")
tempdir = outdir


if args.threads:
print(pfunk.cyan(f"\n--threads flag used, but threading not currently supported. Continuing with one thread."))

"""
QC steps:
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
package_data={"pangolin":["data/*"]},
install_requires=[
"biopython>=1.70",
"pytools==2020.1",
'pandas>=1.0.1',
"wheel>=0.34",
'joblib>=0.11',
Expand Down

0 comments on commit 391eb22

Please sign in to comment.