Skip to content

Commit 8b3d636

Browse files
committed
Pylint nonsense
1 parent 112dfcd commit 8b3d636

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

mhkit/utils/cache.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@ def _load_cache(file_extension, cache_filepath):
121121
with open(cache_filepath, "rb") as f:
122122
data_dict = pickle.load(f) # some format of 'data' and 'metadata'
123123
if isinstance(data_dict, tuple):
124-
# CDIP call returns dictionary in size 2 tuple with the dictionary in first element
124+
# CDIP call returns dictionary in size 2 tuple with the dict in first element
125125
if isinstance(data_dict[0], dict):
126126
data_dict = data_dict[0]
127-
# WPTO hindcast call returns size 2 tuple with data and metadata as separate elements
127+
# WPTO hindcast call returns size 2 tuple with data and metadata as elements
128128
elif len(data_dict) == 2:
129129
return data_dict[0], data_dict[1]
130130
data, metadata = data_dict["data"], data_dict["metadata"]

0 commit comments

Comments
 (0)