Skip to content

Commit

Permalink
super call for py2
Browse files Browse the repository at this point in the history
  • Loading branch information
domeniconappo committed Feb 7, 2020
1 parent 43aafa5 commit 4c3d900
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def run(self):
'setuptools>=41.0',
'numpy>=1.15,<1.17',
],
install_requires=['numpy>=1.15', 'pyyaml', 'netCDF4>=1.3.1', 'xarray', 'dask', 'pandas'],
install_requires=['numpy>=1.15', 'pyyaml', 'netCDF4>=1.3.1', 'xarray', 'dask', 'pandas', 'pathlib2', 'nine'],
author="Valerio Lorini, Domenico Nappo, Lorenzo Alfieri",
author_email="[email protected],[email protected],[email protected]",
keywords=['netCDF4', 'PCRaster', 'mapstack', 'lisflood', 'efas', 'glofas', 'ecmwf', 'copernicus'],
Expand Down
2 changes: 1 addition & 1 deletion src/lisfloodutilities/compare/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class NetCDFComparator(Comparator):
glob_expr = ['**/*.nc']

def __init__(self, mask, atol=0.05, rtol=0.1, max_perc_diff=0.2, max_perc_large_diff=0.1):
super().__init__()
super(NetCDFComparator, self).__init__()
if isinstance(mask, str):
mask = Dataset(mask)
maskvar = [k for k in mask.variables if len(mask.variables[k].dimensions) == 2][0]
Expand Down

0 comments on commit 4c3d900

Please sign in to comment.