Skip to content
Snippets Groups Projects
Commit 61f1cac3 authored by Shavers, Nicholas H's avatar Shavers, Nicholas H
Browse files

lint + rebasing

parent 351333dd
No related branches found
No related tags found
1 merge request!368Imagcdf factory mvp
...@@ -505,7 +505,9 @@ def get_input_factory(args): ...@@ -505,7 +505,9 @@ def get_input_factory(args):
if input_type in ["netcdf", "miniseed"]: if input_type in ["netcdf", "miniseed"]:
input_stream = open(args.input_file, "rb") input_stream = open(args.input_file, "rb")
elif input_type in ["imagcdf"]: elif input_type in ["imagcdf"]:
input_factory_args["inputFile"] = args.input_file #imagcdf file is binary but lib used accepts a file path input_factory_args["inputFile"] = (
args.input_file
) # imagcdf file is binary but lib used accepts a file path
else: else:
input_stream = open(args.input_file, "r") input_stream = open(args.input_file, "r")
elif args.input_stdin: elif args.input_stdin:
...@@ -841,7 +843,7 @@ def parse_args(args): ...@@ -841,7 +843,7 @@ def parse_args(args):
"xml", "xml",
"covjson", "covjson",
"netcdf", "netcdf",
"imagcdf" "imagcdf",
), ),
default="edge", default="edge",
help='Input format (Default "edge")', help='Input format (Default "edge")',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment