瀏覽代碼

Update of Transformation use case

Jérôme BUISINE 4 年之前
父節點
當前提交
941047b935
共有 1 個文件被更改,包括 2 次插入4 次删除
  1. 2 4
      classes/Transformation.py

+ 2 - 4
classes/Transformation.py

@@ -46,10 +46,8 @@ class Transformation():
             path = os.path.join(path, 'N' + str(n_components))
 
         if self.transformation == 'static':
-            # param contains the whole path of image
-            last_element = self.param.split('/')[-1] 
-            output_path = self.param.replace(last_element, '')
-            path = os.path.join(output_path, self.transformation, last_element)
+            # param contains image name to find for each scene
+            path = self.param
 
         return path