Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Chris Jewell
covid19uk
Commits
d9c52e4e
Commit
d9c52e4e
authored
Apr 14, 2021
by
Chris Jewell
Browse files
Fixed bug running inference from cli.
parent
b1d1152c
Changes
1
Hide whitespace changes
Inline
Side-by-side
covid/tasks/inference.py
View file @
d9c52e4e
...
...
@@ -355,9 +355,7 @@ if __name__ == "__main__":
parser
.
add_argument
(
"-o"
,
"--output"
,
type
=
str
,
help
=
"Output file"
,
required
=
True
)
parser
.
add_argument
(
"data_file"
,
type
=
str
,
help
=
"Data pickle file"
,
required
=
True
)
parser
.
add_argument
(
"data_file"
,
type
=
str
,
help
=
"Data NetCDF file"
)
args
=
parser
.
parse_args
()
with
open
(
args
.
config
,
"r"
)
as
f
:
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment