Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix some remaining issues
  • Loading branch information
m-kuhn committed May 5, 2020
1 parent 0afe134 commit 2dafee5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/plugins/processing/tests/OtbAlgorithmsTest.py
Expand Up @@ -43,7 +43,7 @@
from processing.core.ProcessingConfig import ProcessingConfig, Setting
from processing.gui.AlgorithmDialog import AlgorithmDialog
from processing.gui.BatchAlgorithmDialog import BatchAlgorithmDialog
from processing.gui.wrappers import WidgetWrapperFactory,
from processing.gui.wrappers import WidgetWrapperFactory
from processing.modeler.ModelerParametersDialog import ModelerParametersDialog
from processing.algs.otb.OtbAlgorithm import OtbAlgorithm
from processing.algs.otb.OtbAlgorithmProvider import OtbAlgorithmProvider
Expand Down
4 changes: 2 additions & 2 deletions scripts/parse_dash_results.py
Expand Up @@ -158,7 +158,7 @@ def parse_url(self, url):

images = {}
for img in measurement_img:
m = re.search('Rendered Image (.*?)(\s|$)', img['role'])
m = re.search(r'Rendered Image (.*?)(\s|$)', img['role'])
test_name = m.group(1)
rendered_image = 'displayImage.php?imgid={}'.format(img['imgid'])
images[test_name] = '{}/{}'.format(dash_url, rendered_image)
Expand Down Expand Up @@ -286,7 +286,7 @@ def create_mask(self, control_image, rendered_image, mask_image, overload=1):

def get_control_image_path(self, test_name):
if os.path.isfile(test_name):
return path
return test_name

# else try and find matching test image
script_folder = os.path.dirname(os.path.realpath(sys.argv[0]))
Expand Down

0 comments on commit 2dafee5

Please sign in to comment.