Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
panacota
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Amandine PERRIN
panacota
Commits
cd859b95
Commit
cd859b95
authored
5 years ago
by
Amandine PERRIN
Browse files
Options
Downloads
Patches
Plain Diff
Output dir required with only-mash option
parent
78a0f72a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
PanACoTA/subcommands/prepare.py
+4
-1
4 additions, 1 deletion
PanACoTA/subcommands/prepare.py
with
4 additions
and
1 deletion
PanACoTA/subcommands/prepare.py
+
4
−
1
View file @
cd859b95
...
@@ -395,10 +395,13 @@ def check_args(parser, args):
...
@@ -395,10 +395,13 @@ def check_args(parser, args):
if
args
.
no_refseq
and
not
args
.
outdir
:
if
args
.
no_refseq
and
not
args
.
outdir
:
parser
.
error
(
"
You must provide an output directory, where your results will be saved.
"
)
parser
.
error
(
"
You must provide an output directory, where your results will be saved.
"
)
# If user wants only mash steps, check that he gave info file
# If user wants only mash steps, check that he gave info file
, and outdir
if
args
.
only_mash
and
not
args
.
from_info
:
if
args
.
only_mash
and
not
args
.
from_info
:
parser
.
error
(
"
If you want to run only Mash filtering steps, please give the
"
parser
.
error
(
"
If you want to run only Mash filtering steps, please give the
"
"
info file with the required information (see
'
--info
'
option)
"
)
"
info file with the required information (see
'
--info
'
option)
"
)
if
args
.
only_mash
and
not
args
.
outdir
:
parser
.
error
(
"
If you want to run only Mash filtering steps, please give the
"
"
output directory where you want to save your results (see
'
-o
'
option)
"
)
# Cannot be verbose and quiet at the same time
# Cannot be verbose and quiet at the same time
if
args
.
verbose
>
0
and
args
.
quiet
:
if
args
.
verbose
>
0
and
args
.
quiet
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment