Commit f334114b authored by Cresson Remi's avatar Cresson Remi
Browse files

FIX, REFAC: use f-string and os.path.join() for paths concat

1 merge request!6Checkpoints callbacks fixes
Showing with 2 additions and 2 deletions
+2 -2
......@@ -7,7 +7,7 @@ import filecmp
import gdal
import otbApplication as otb
from abc import ABC
from decloud.core.system import get_env_var, pathify, basename
from decloud.core.system import get_env_var, basename
class DecloudTest(ABC, unittest.TestCase):
......@@ -15,7 +15,7 @@ class DecloudTest(ABC, unittest.TestCase):
DECLOUD_DATA_DIR = get_env_var("DECLOUD_DATA_DIR")
def get_path(self, path):
return pathify(self.DECLOUD_DATA_DIR) + path
return os.path.join(self.DECLOUD_DATA_DIR, path)
def compare_images(self, image, reference, mae_threshold=0.01):
......
Supports Markdown
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