Skip to content

Commit

Permalink
Merge branch 'release/v0.0.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
jbuisine committed Jun 27, 2019
2 parents 7a90d64 + 941047b commit e1fa425
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions classes/Transformation.py
Expand Up @@ -46,10 +46,8 @@ def getTransformationPath(self):
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

Expand Down

0 comments on commit e1fa425

Please sign in to comment.