Skip to content
Snippets Groups Projects
Commit 9d8e0d73 authored by payno's avatar payno
Browse files

[gui][utils] fix subprocess.call of the imagek process

parent 3f6254d8
No related branches found
Tags v0.5.0
No related merge requests found
......@@ -61,4 +61,7 @@ def open_url_with_image_j(url):
raise OSError('ImageJ is not installed')
else:
# for now we only manage the simple case of an edf file
subprocess.call(['imagej', '-o', url.master_file()])
try:
subprocess.call(['imagej', '-o', url.file_path()])
except Exception as e:
pass
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment