Преглед на файлове

Merge branch 'release/v0.0.4'

Jérôme BUISINE преди 4 години
родител
ревизия
e1fa425dac
променени са 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