diff --git a/src/lisfloodutilities/gridding/generate_grids.py b/src/lisfloodutilities/gridding/generate_grids.py index 1675a95..febe337 100755 --- a/src/lisfloodutilities/gridding/generate_grids.py +++ b/src/lisfloodutilities/gridding/generate_grids.py @@ -21,8 +21,8 @@ from pathlib import Path from argparse import ArgumentParser, ArgumentTypeError from datetime import datetime, timedelta -from src.lisfloodutilities.gridding.lib.utils import Printable, Dem, Config, FileUtils, GriddingUtils -from src.lisfloodutilities.gridding.lib.writers import NetCDFWriter, GDALWriter +from lisfloodutilities.gridding.lib.utils import Printable, Dem, Config, FileUtils, GriddingUtils +from lisfloodutilities.gridding.lib.writers import NetCDFWriter, GDALWriter END_DATE_DEFAULT = datetime.now().strftime('%Y%m%d060000') diff --git a/src/lisfloodutilities/gridding/lib/writers.py b/src/lisfloodutilities/gridding/lib/writers.py index 882894c..51b3980 100644 --- a/src/lisfloodutilities/gridding/lib/writers.py +++ b/src/lisfloodutilities/gridding/lib/writers.py @@ -20,8 +20,8 @@ from netCDF4 import Dataset, default_fillvals, date2num, num2date from netCDF4._netCDF4 import Variable as NetCDF4Variable from osgeo import osr, gdal -from src.lisfloodutilities.gridding.lib.utils import Printable, Config, FileUtils -from src.lisfloodutilities import version +from lisfloodutilities.gridding.lib.utils import Printable, Config, FileUtils +from lisfloodutilities import version class OutputWriter(Printable): diff --git a/tests/test_gridding.py b/tests/test_gridding.py index 839ebd6..d173c46 100755 --- a/tests/test_gridding.py +++ b/tests/test_gridding.py @@ -5,8 +5,8 @@ import numpy as np from osgeo import gdal from netCDF4 import Dataset -from src.lisfloodutilities.gridding.generate_grids import run, print_msg -from src.lisfloodutilities.gridding.lib.utils import FileUtils +from lisfloodutilities.gridding.generate_grids import run, print_msg +from lisfloodutilities.gridding.lib.utils import FileUtils cur_folder = os.path.dirname(os.path.realpath(__file__))