cmp.bidsappmanager.gui.handlers module
- class cmp.bidsappmanager.gui.handlers.BIDSAppInterfaceWindowHandler[source]
Bases:
traitsui.handler.Handler
Event handler of the BIDS App Interface window.
- docker_process
Instance of
subprocess.Popen
where BIDS App docker image is run- Type
- check_settings(ui_info)[source]
Function that checks if all parameters are properly set before execution of the BIDS App.
- Parameters
ui_info (QtView) – TraitsUI QtView associated with
self
- classmethod manage_bidsapp_procs(proclist)[source]
Function that managed the parallelized BIDS App Popen process.
- Parameters
proclist – List of
Popen
processes running the BIDS App on a single subject
- start_bids_app(ui_info)[source]
Main function that runs the BIDS App on a set or sub-set of participants.
- Parameters
ui_info (QtView) – TraitsUI QtView associated with this handler
- class cmp.bidsappmanager.gui.handlers.ConfigQualityWindowHandler[source]
Bases:
traitsui.handler.Handler
Event handler of the Configurator and Inspector (Quality Control) windows.
- project_loaded
Indicate if project has been successfully loaded (Default: False)
- Type
traits.Bool
- anat_pipeline
Instance of
AnatomicalPipelineUI
class- Type
Instance(HasTraits)
- anat_inputs_checked
Indicate if anatomical pipeline inputs are available (Default: False)
- Type
traits.Bool
- anat_outputs_checked
Indicate if anatomical pipeline outputs are available (Default: False)
- Type
traits.Bool
- anatomical_processed
Indicate if anatomical pipeline was run (Default: False)
- Type
traits.Bool
- dmri_pipeline
Instance of
DiffusionPipelineUI
class- Type
Instance(HasTraits)
- dmri_inputs_checked
Indicate if diffusion pipeline inputs are available (Default: False)
- Type
traits.Bool
- dmri_processed
Indicate if diffusion pipeline was run (Default: False)
- Type
traits.Bool
- fmri_pipeline
Instance of
fMRIPipelineUI
class- Type
Instance(HasTraits)
- fmri_inputs_checked
Indicate if fMRI pipeline inputs are available (Default: False)
- Type
traits.Bool
- fmri_processed
Indicate if fMRI pipeline was run (Default: False)
- Type
traits.Bool
- load_anat_config_file(ui_info)[source]
Function that loads the anatomical pipeline configuration file.
- Parameters
ui_info (QtView) – TraitsUI QtView associated with
self
- load_dmri_config_file(ui_info)[source]
Function that loads the diffusion pipeline configuration file.
- Parameters
ui_info (QtView) – TraitsUI QtView associated with
self
- load_fmri_config_file(ui_info)[source]
Function that loads the fMRI pipeline configuration file.
- Parameters
ui_info (QtView) – TraitsUI QtView associated with
self
- load_project(ui_info)[source]
Function that creates a new
ProjectInfoUI
instance from an existing project.- Parameters
ui_info (QtView) – TraitsUI QtView associated with
self
- new_project(ui_info)[source]
Function that creates a new
ProjectInfoUI
instance.- Parameters
ui_info (QtView) – TraitsUI QtView associated with
self
- classmethod save_anat_config_file(ui_info)[source]
Function that saves the anatomical pipeline configuration file.
- Parameters
ui_info (QtView) – TraitsUI QtView associated with
self
- classmethod save_dmri_config_file(ui_info)[source]
Function that saves the diffusion pipeline configuration file.
- Parameters
ui_info (QtView) – TraitsUI QtView associated with
self
- classmethod save_fmri_config_file(ui_info)[source]
Function that saves the fMRI pipeline configuration file.
- Parameters
ui_info (QtView) – TraitsUI QtView associated with
self
- classmethod show_bidsapp_window()[source]
Function that shows the BIDS App Interface Window.
- Parameters
ui_info (QtView) – TraitsUI QtView associated with this handler
- update_subject_anat_pipeline(ui_info)[source]
Function that updates attributes of the
AnatomicalPipelineUI
instance.- Parameters
ui_info (QtView) – TraitsUI QtView associated with
self
- class cmp.bidsappmanager.gui.handlers.MainWindowHandler[source]
Bases:
traitsui.handler.Handler
Event handler of the Configurator and Inspector (Quality Control) windows.
- project_loaded
Indicate if project has been successfully loaded (Default: False)
- Type
traits.Bool
- anat_pipeline
Instance of
AnatomicalPipelineUI
class- Type
Instance(HasTraits)
- anat_inputs_checked
Indicate if anatomical pipeline inputs are available (Default: False)
- Type
traits.Bool
- anat_outputs_checked
Indicate if anatomical pipeline outputs are available (Default: False)
- Type
traits.Bool
- anatomical_processed
Indicate if anatomical pipeline was run (Default: False)
- Type
traits.Bool
- dmri_pipeline
Instance of
DiffusionPipelineUI
class- Type
Instance(HasTraits)
- dmri_inputs_checked
Indicate if diffusion pipeline inputs are available (Default: False)
- Type
traits.Bool
- dmri_processed
Indicate if diffusion pipeline was run (Default: False)
- Type
traits.Bool
- fmri_pipeline
Instance of
fMRIPipelineUI
class- Type
Instance(HasTraits)
- fmri_inputs_checked
Indicate if fMRI pipeline inputs are available (Default: False)
- Type
traits.Bool
- fmri_processed
Indicate if fMRI pipeline was run (Default: False)
- Type
traits.Bool