Commit 66f627a6 authored by cponcele's avatar cponcele
Browse files

Fix pylint

parent 2ff79eac
......@@ -84,7 +84,7 @@ class NcReader:
"""
variable = self.dataset[variable_path]
if slice_index is None:
slice_index = dict()
slice_index = {}
if NcReader.is_variable_vlen(variable):
return self._get_vlen_variable(variable_path, slice_index)
return self._get_usual_variable(variable_path=variable_path,slice_index=slice_index)
......@@ -347,7 +347,7 @@ class NcReader:
:return: None
"""
if slice_index is None:
slice_index = dict()
slice_index = {}
if ignored_variable_list is None:
ignored_variable_list = []
if root == "/" or root is None:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment