Skip to content

Commit

Permalink
capsul engine sync with mia pref - FSL OK (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
servoz committed Feb 12, 2022
1 parent 25fd1de commit 5916457
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/populse_mia/software_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ def set_capsul_config(self, capsul_config_dict):
fsl_conf_path = capsul_config.get('fsl_config')

if use_fsl and fsl_conf_path:
self.set_fsl_config(matlab_path)
self.set_fsl_config(fsl_conf_path)
self.set_use_fsl(True)

elif use_fsl is False:
Expand Down
5 changes: 4 additions & 1 deletion python/populse_mia/user_interface/pop_ups.py
Original file line number Diff line number Diff line change
Expand Up @@ -2671,7 +2671,10 @@ def edit_capsul_config(self):
config.get_spm_standalone_path())

# fsl

use_fsl = config.get_use_fsl()
use_fsl = Qt.Qt.Checked if use_fsl else Qt.Qt.Unchecked
self.use_fsl_checkbox.setCheckState(use_fsl)
self.fsl_choice.setText(config.get_fsl_config())

del dialog
del engine
Expand Down

0 comments on commit 5916457

Please sign in to comment.