From d36f9b4095afce5317d798275de1bae56d4aa1a1 Mon Sep 17 00:00:00 2001 From: Antonin Blot Date: Thu, 18 Jul 2019 16:07:13 +0100 Subject: [PATCH] Fix parameter loading in elastix plugin --- lasagna/plugins/registration_plugins/elastix_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lasagna/plugins/registration_plugins/elastix_plugin.py b/lasagna/plugins/registration_plugins/elastix_plugin.py index 25d8f15..1ba95df 100644 --- a/lasagna/plugins/registration_plugins/elastix_plugin.py +++ b/lasagna/plugins/registration_plugins/elastix_plugin.py @@ -307,7 +307,7 @@ def loadParamFile_slot(self, selectedParamFiles=False): 3. Create an editable copy in a tempoary location """ if not selectedParamFiles: - selectedParamFiles = QtGui.QFileDialog.getOpenFileNames(self, "Select parameter file", "Text files (*.txt *.TXT *.ini *.INI)") + selectedParamFiles, filter_used = QtGui.QFileDialog.getOpenFileNames(self, "Select parameter file", "Text files (*.txt *.TXT *.ini *.INI)") # Add to list for path_to_param_file in selectedParamFiles: