Skip to content

Commit

Permalink
make cmdline sigs optional for index (#1186)
Browse files Browse the repository at this point in the history
* make cmdline sigs optional for index. In tests, fix index argument order to account for this change

* update python 3.7 in travis

Co-authored-by: Luiz Irber <[email protected]>
  • Loading branch information
bluegenes and luizirber authored Aug 28, 2020
1 parent 0a15553 commit 6e639bd
Show file tree
Hide file tree
Showing 3 changed files with 115 additions and 55 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
include:
- &test
stage: test
python: 3.7
python: 3.7.9
- <<: *test
python: 3.8
env:
Expand Down Expand Up @@ -101,13 +101,13 @@ jobs:
- redis
- docker
- <<: *test
python: 3.7
python: 3.7.9
env:
- TOXENV=docs

- &wheel
stage: build wheel and send to github releases
python: 3.7
python: 3.7.9
services:
- docker
env:
Expand Down
2 changes: 1 addition & 1 deletion sourmash/cli/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def subparser(subparsers):
usage=usage)
subparser.add_argument('sbt_name', help='name to save index into; .sbt.zip or .sbt.json file')
subparser.add_argument(
'signatures', nargs='+',
'signatures', nargs='*',
help='signatures to load into SBT'
)
subparser.add_argument(
Expand Down
Loading

0 comments on commit 6e639bd

Please sign in to comment.