Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tammo Jan Dijkema
filterbank
Commits
2a63598a
Commit
2a63598a
authored
Oct 12, 2017
by
Tammo Jan Dijkema
Browse files
Fix argparse
parent
0d40fe67
Changes
1
Hide whitespace changes
Inline
Side-by-side
tofil.py
View file @
2a63598a
...
...
@@ -123,4 +123,9 @@ if __name__ == "__main__":
args
=
parser
.
parse_args
()
if
args
.
infile
is
None
and
args
.
outfile
is
None
:
parser
.
error
(
"One of --infile or --outfile is required"
)
if
args
.
infile
is
None
and
args
.
source
is
None
:
parser
.
error
(
"Without infile, --source must be specified"
)
create_filterbank
(
infile
=
args
.
infile
,
outfile
=
args
.
outfile
,
date
=
args
.
date
,
source
=
args
.
source
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment