cmp.bidsappmanager.pipelines.functional.fMRI module

Functional pipeline UI Class definition.

class cmp.bidsappmanager.pipelines.functional.fMRI.fMRIPipelineUI(project_info)[source]

Bases: cmp.pipelines.functional.fMRI.fMRIPipeline

Class that extends the fMRIPipeline with graphical components.

preprocessing

Button to open the window for configuration or quality inspection of the preprocessing stage depending on the view_mode

Type

traits.ui.Button

registration

Button to open the window for configuration or quality inspection of the registration stage depending on the view_mode

Type

traits.ui.Button

functionalMRI

Button to open the window for configuration or quality inspection of the extra preprocessing stage stage depending on the view_mode

Type

traits.ui.Button

connectome

Button to open the window for configuration or quality inspection of the connectome stage depending on the view_mode

Type

traits.ui.Button

view_mode

Variable used to control the display of either (1) the configuration or (2) the quality inspection of stage of the pipeline

Type

[‘config_view’, ‘inspect_outputs_view’]

pipeline_group

Panel defining the layout of the buttons of the stages with corresponding images

Type

traitsUI panel

traits_view

QtView that includes the pipeline_group panel

Type

QtView

check_input(layout, gui=True)[source]

Method that checks if inputs of the fMRI pipeline are available in the datasets.

Parameters
  • layout (bids.BIDSLayout) – BIDSLayout object used to query

  • gui (bool) – If True, display message in GUI

Returns

valid_inputs – True in all inputs of the fMRI pipeline are available

Return type

bool