Whitespace fixup

This commit is contained in:
Joakim Hove 2021-11-11 14:17:16 +01:00
parent b77ed8cc7c
commit e017195478

View File

@ -11,14 +11,14 @@ def emodel_add_filter(self, key, operator, val1, val2 = None):
arrList = self.get_list_of_arrays()
arrNameList = [item[0] for item in arrList]
arrTypeList = [item[1] for item in arrList]
if key not in arrNameList:
raise ValueError("{} array not found in EModel".format(key))
ind = arrNameList.index(key)
arrType = arrTypeList[ind]
if not val2:
if arrType == eclArrType.INTE:
self.__add_filter(key, operator, int(val1))
@ -30,5 +30,5 @@ def emodel_add_filter(self, key, operator, val1, val2 = None):
elif arrType == eclArrType.REAL:
self.__add_filter(key, operator, float(val1), float(val2))
setattr(EModel, "add_filter", emodel_add_filter)