FCP-INDI / C-PAC_GUI

A new GUI for C-PAC
https://fcp-indi.github.io/C-PAC_GUI/versions/nightly/browser/
Other
2 stars 4 forks source link

🐛 1.6 & 1.8 `localStorage.state`s are incompatible #104

Closed shnizzedy closed 3 years ago

shnizzedy commented 3 years ago

Describe the bug

Whichever version of the GUI is loaded first (latest or nightly) prevents the other version from loading.

To reproduce

latest to nightly

  1. Go to https://fcp-indi.github.io/C-PAC_GUI/versions/latest/browser/#/
  2. Go to https://fcp-indi.github.io/C-PAC_GUI/versions/nightly/browser/#/
  3. See error

nightly to latest

  1. Go to https://fcp-indi.github.io/C-PAC_GUI/versions/nightly/browser/#/
  2. Go to https://fcp-indi.github.io/C-PAC_GUI/versions/latest/browser/#/
  3. See error

Expected behavior

Be able to navigate to/from either version.

Acceptance criteria

Screenshots

nightly after latest

1.8 after 1.6 screenshot

latest after nightly

1.6 after 1.8 screenshot

C-PAC version

1.6 ‒ 1.8

Additional context

The webapp uses localStorage.state.pipelines to hold all of the relevant data; the structure of this object changed significantly between 1.6 and 1.8:

1.6

[
    {
        "id": "default",
        "name": "Default",
        "versions": {
            "1627913321097": {
                "version": "1.6.0",
                "configuration": {
                    "general": {
                        "environment": {
                            "memory": 3,
                            "cores": 1,
                            "participants": 1,
                            "ants_threads": 1,
                            "grid": false,
                            "resource": "SGE",
                            "SGEenvironment": "cpac",
                            "queue": "all.q",
                            "paths": {
                                "fsl": "FSLDIR",
                                "output": "./cpac_runs/default/output",
                                "working": "./cpac_runs/default/working",
                                "crash": "./cpac_runs/default/crash",
                                "log": "./cpac_runs/default/log"
                            },
                            "outputs": {
                                "aws": null,
                                "s3": true,
                                "extra": false,
                                "debug": false,
                                "logging": true,
                                "regenerate": false,
                                "quality_control": true,
                                "organized": true,
                                "remove_working": false
                            }
                        }
                    },
                    "anatomical": {
                        "enabled": true,
                        "registration": {
                            "resolution": 2,
                            "brain_template": "${environment.paths.fsl_dir}/data/standard/MNI152_T1_${pipeline.anatomical.registration.resolution}mm_brain.nii.gz",
                            "skull_template": "${environment.paths.fsl_dir}/data/standard/MNI152_T1_${pipeline.anatomical.registration.resolution}mm.nii.gz",
                            "methods": {
                                "ants": {
                                    "enabled": true,
                                    "interpolation": "sinc",
                                    "configuration": {
                                        "skull_on": false,
                                        "lesion_mask": true
                                    },
                                    "ANTs_para_T1_registration": {
                                        "collapse_output_transforms": 0,
                                        "dimensionality": 3,
                                        "initial_moving_transform": {
                                            "initializationFeature": 0
                                        },
                                        "transforms": {
                                            "Rigid": {
                                                "enabled": true,
                                                "gradientStep": 0.1,
                                                "convergence": {
                                                    "iteration": "1000x500x250x100",
                                                    "convergenceThreshold": 1e-8,
                                                    "convergenceWindowSize": 10
                                                },
                                                "smoothing_sigmas": "3.0x2.0x1.0x0.0",
                                                "shrink_factors": "8x4x2x1",
                                                "use_histogram_matching": true,
                                                "metric": {
                                                    "type": {
                                                        "MI": {
                                                            "metricWeight": 1,
                                                            "numberOfBins": 32,
                                                            "samplingStrategy": "Regular",
                                                            "samplingPercentage": 0.25,
                                                            "enabled": true
                                                        }
                                                    }
                                                }
                                            },
                                            "Affine": {
                                                "enabled": true,
                                                "gradientStep": 0.1,
                                                "convergence": {
                                                    "iteration": "1000x500x250x100",
                                                    "convergenceThreshold": 1e-8,
                                                    "convergenceWindowSize": 10
                                                },
                                                "smoothing_sigmas": "3.0x2.0x1.0x0.0",
                                                "shrink_factors": "8x4x2x1",
                                                "use_histogram_matching": true,
                                                "metric": {
                                                    "type": {
                                                        "MI": {
                                                            "metricWeight": 1,
                                                            "numberOfBins": 32,
                                                            "samplingStrategy": "Regular",
                                                            "samplingPercentage": 0.25,
                                                            "enabled": true
                                                        }
                                                    }
                                                }
                                            },
                                            "SyN": {
                                                "enabled": true,
                                                "gradientStep": 0.1,
                                                "updateFieldVarianceInVoxelSpace": 3,
                                                "totalFieldVarianceInVoxelSpace": 0,
                                                "convergence": {
                                                    "iteration": "100x100x70x20",
                                                    "convergenceThreshold": 1e-9,
                                                    "convergenceWindowSize": 15
                                                },
                                                "smoothing_sigmas": "3.0x2.0x1.0x0.0",
                                                "shrink_factors": "6x4x2x1",
                                                "use_histogram_matching": true,
                                                "winsorize_image_intensities": {
                                                    "lowerQuantile": 0.01,
                                                    "upperQuantile": 0.99
                                                },
                                                "metric": {
                                                    "type": {
                                                        "CC": {
                                                            "metricWeight": 1,
                                                            "radius": 4,
                                                            "enabled": true
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "fsl": {
                                    "enabled": false,
                                    "interpolation": "sinc",
                                    "configuration": {
                                        "linear_only": false,
                                        "config_file": "T1_2_MNI152_2mm",
                                        "reference_mask": "${environment.paths.fsl_dir}/data/standard/MNI152_T1_${pipeline.anatomical.registration.resolution}mm_brain_mask_dil.nii.gz"
                                    }
                                }
                            }
                        },
                        "preprocessing": {
                            "methods": {
                                "nlmf": {
                                    "enabled": false
                                },
                                "n4": {
                                    "enabled": false
                                }
                            }
                        },
                        "skull_stripping": {
                            "enabled": true,
                            "methods": {
                                "afni": {
                                    "enabled": true,
                                    "configuration": {
                                        "mask_vol": false,
                                        "shrink_factor": {
                                            "vary": true,
                                            "threshold": 0.6,
                                            "bottom_limit": 0.4
                                        },
                                        "multiplier": 1,
                                        "iterations": 250,
                                        "avoid_eyes": true,
                                        "avoid_ventricles": true,
                                        "use_edge": true,
                                        "use_skull": false,
                                        "pushout": true,
                                        "touchup": true,
                                        "push_to_edge": false,
                                        "fill_hole": 10,
                                        "nearest_neighbors_smooth": 72,
                                        "final_smooth": 20,
                                        "fractional_expansion": 0.1,
                                        "intersections": {
                                            "ratio": 0,
                                            "iterations": 4
                                        },
                                        "blur_fwhm": 0,
                                        "skullstrip_monkey": false
                                    }
                                },
                                "bet": {
                                    "enabled": false,
                                    "configuration": {
                                        "threshold": 0.5,
                                        "apply_threshold": false,
                                        "mask": true,
                                        "mesh": false,
                                        "skull": false,
                                        "surfaces": false,
                                        "surface_outline": false,
                                        "padding": false,
                                        "radius": 0,
                                        "reduce_bias": false,
                                        "remove_eyes": false,
                                        "robust_brain_center": false,
                                        "vertical_gradient": 0
                                    }
                                },
                                "niworkflows_ants": {
                                    "enabled": false,
                                    "ants_templates": {
                                        "niworkflows_ants_template_path": "/ants_template/oasis/T_template0.nii.gz",
                                        "niworkflows_ants_mask_path": "/ants_template/oasis/T_template0_BrainCerebellumProbabilityMask.nii.gz",
                                        "niworkflows_ants_regmask_path": "/ants_template/oasis/T_template0_BrainCerebellumRegistrationMask.nii.gz"
                                    }
                                },
                                "unet": {
                                    "enabled": false,
                                    "unet_model": "s3://fcp-indi/resources/cpac/resources/Site-All-T-epoch_36.model"
                                }
                            }
                        },
                        "tissue_segmentation": {
                            "enabled": true,
                            "configuration": {
                                "priors": {
                                    "enabled": true,
                                    "priors": {
                                        "white_matter": "${environment.paths.fsl_dir}/data/standard/tissuepriors/2mm/avg152T1_white_bin.nii.gz",
                                        "gray_matter": "${environment.paths.fsl_dir}/data/standard/tissuepriors/2mm/avg152T1_gray_bin.nii.gz",
                                        "cerebrospinal_fluid": "${environment.paths.fsl_dir}/data/standard/tissuepriors/2mm/avg152T1_csf_bin.nii.gz"
                                    }
                                },
                                "fast_threshold": {
                                    "enabled": true
                                },
                                "custom_threshold": {
                                    "enabled": false,
                                    "threshold": {
                                        "white_matter": 0.95,
                                        "gray_matter": 0.95,
                                        "cerebrospinal_fluid": 0.95
                                    }
                                },
                                "erosion": {
                                    "enabled": false,
                                    "proportion": 0.6
                                },
                                "template_based_seg": {
                                    "enabled": false,
                                    "methods": "epi_template_based",
                                    "tissue_path": {
                                        "white_matter": "${environment.paths.fsl_dir}/data/standard/tissuepriors/2mm/avg152T1_white_bin.nii.gz",
                                        "gray_matter": "${environment.paths.fsl_dir}/data/standard/tissuepriors/2mm/avg152T1_gray_bin.nii.gz",
                                        "cerebrospinal_fluid": "${environment.paths.fsl_dir}/data/standard/tissuepriors/2mm/avg152T1_csf_bin.nii.gz"
                                    }
                                },
                                "ANTs_prior_based_seg": {
                                    "enabled": false,
                                    "template_brain_list": [
                                        {
                                            "mask": "s3://fcp-indi/resources/cpac/resources/MacaqueYerkes19_T1w_0.5mm/T1w_brain.nii.gz"
                                        },
                                        {
                                            "mask": "s3://fcp-indi/resources/cpac/resources/J_Macaque_11mo_atlas_nACQ_194x252x160space_0.5mm/T1w_brain.nii.gz"
                                        }
                                    ],
                                    "template_segmentation_list": [
                                        {
                                            "mask": "s3://fcp-indi/resources/cpac/resources/MacaqueYerkes19_T1w_0.5mm/Segmentation.nii.gz"
                                        },
                                        {
                                            "mask": "s3://fcp-indi/resources/cpac/resources/J_Macaque_11mo_atlas_nACQ_194x252x160space_0.5mm/Segmentation.nii.gz"
                                        }
                                    ],
                                    "CSF_label": 24,
                                    "left_GM_label": 3,
                                    "right_GM_label": 42,
                                    "left_WM_label": 2,
                                    "right_WM_label": 41
                                }
                            }
                        }
                    },
                    "functional": {
                        "enabled": true,
                        "preprocessing": {
                            "n4_mean_epi": {
                                "enabled": false
                            },
                            "scaling": {
                                "enabled": false,
                                "factor": 10
                            },
                            "motion_stats": {
                                "enabled": false
                            },
                            "motion_correction": {
                                "method": {
                                    "volreg": true,
                                    "mcflirt": false
                                },
                                "reference": {
                                    "mean": true,
                                    "median": false,
                                    "selected_volume": false,
                                    "reference_volume": 0
                                },
                                "reference_volume": 0
                            },
                            "despike": {
                                "enabled": false
                            }
                        },
                        "slice_timing_correction": {
                            "enabled": false,
                            "pattern": "header",
                            "repetition_time": "",
                            "first_timepoint": 0,
                            "last_timepoint": "",
                            "two_pass": true
                        },
                        "distortion_correction": {
                            "enabled": false,
                            "method": {
                                "phasediff": {
                                    "enabled": true,
                                    "skull_stripping": "bet",
                                    "threshold": 0.5,
                                    "threshold_bet": 0.5,
                                    "threshold_afni": 0.6,
                                    "delta_te": 2.46,
                                    "dwell_time": 0.0005,
                                    "dwell_to_assymetric_ratio": 0.93902439,
                                    "phase_encoding_direction": "-y"
                                },
                                "blip": {
                                    "enabled": false
                                }
                            }
                        },
                        "anatomical_registration": {
                            "enabled": true,
                            "bb_registration": true,
                            "bb_registration_scheduler": "${environment.paths.fsl_dir}/etc/flirtsch/bbr.sch",
                            "registration_input": "mean",
                            "functional_volume": 0,
                            "functional_masking": {
                                "fsl": {
                                    "enabled": false,
                                    "configuration": {
                                        "functional_mean": false,
                                        "threshold": 0.3,
                                        "apply_threshold": false,
                                        "mask": true,
                                        "mesh": false,
                                        "skull": false,
                                        "surfaces": false,
                                        "surface_outline": false,
                                        "padding": false,
                                        "radius": 0,
                                        "reduce_bias": false,
                                        "remove_eyes": false,
                                        "robust_brain_center": false,
                                        "vertical_gradient": 0
                                    }
                                },
                                "afni": true,
                                "fsl_afni": false,
                                "anat_refined": false
                            }
                        },
                        "template_registration": {
                            "enabled": true,
                            "functional_resolution": "3",
                            "derivative_resolution": "3",
                            "template_for_resample": "${environment.paths.fsl_dir}/data/standard/MNI152_T1_1mm_brain.nii.gz",
                            "identity_matrix": "${environment.paths.fsl_dir}/etc/flirtsch/ident.mat",
                            "methods": {
                                "ants": {
                                    "interpolation": "sinc",
                                    "ANTs_para_T1_registration": {
                                        "collapse_output_transforms": 0,
                                        "dimensionality": 3,
                                        "initial_moving_transform": {
                                            "initializationFeature": 0
                                        },
                                        "transforms": {
                                            "Rigid": {
                                                "enabled": true,
                                                "gradientStep": 0.1,
                                                "metric": {
                                                    "type": {
                                                        "MI": {
                                                            "enabled": true,
                                                            "metricWeight": 1,
                                                            "numberOfBins": 32,
                                                            "samplingStrategy": "Regular",
                                                            "samplingPercentage": 0.25
                                                        },
                                                        "CC": {
                                                            "enabled": false,
                                                            "metricWeight": 1,
                                                            "radius": 4
                                                        }
                                                    }
                                                },
                                                "convergence": {
                                                    "iteration": "1000x500x250x100",
                                                    "convergenceThreshold": 1e-8,
                                                    "convergenceWindowSize": 10
                                                },
                                                "smoothing_sigmas": "3.0x2.0x1.0x0.0",
                                                "shrink_factors": "8x4x2x1",
                                                "use_histogram_matching": true
                                            },
                                            "Affine": {
                                                "enabled": true,
                                                "gradientStep": 0.1,
                                                "metric": {
                                                    "type": {
                                                        "MI": {
                                                            "enabled": true,
                                                            "metricWeight": 1,
                                                            "numberOfBins": 32,
                                                            "samplingStrategy": "Regular",
                                                            "samplingPercentage": 0.25
                                                        },
                                                        "CC": {
                                                            "enabled": false,
                                                            "metricWeight": 1,
                                                            "radius": 4
                                                        }
                                                    }
                                                },
                                                "convergence": {
                                                    "iteration": "1000x500x250x100",
                                                    "convergenceThreshold": 1e-8,
                                                    "convergenceWindowSize": 10
                                                },
                                                "smoothing_sigmas": "3.0x2.0x1.0x0.0",
                                                "shrink_factors": "8x4x2x1",
                                                "use_histogram_matching": true
                                            },
                                            "SyN": {
                                                "enabled": true,
                                                "gradientStep": 0.1,
                                                "updateFieldVarianceInVoxelSpace": 3,
                                                "totalFieldVarianceInVoxelSpace": 0,
                                                "metric": {
                                                    "type": {
                                                        "MI": {
                                                            "enabled": false,
                                                            "metricWeight": 1,
                                                            "numberOfBins": 32,
                                                            "samplingStrategy": "Regular",
                                                            "samplingPercentage": 0.25
                                                        },
                                                        "CC": {
                                                            "enabled": true,
                                                            "metricWeight": 1,
                                                            "radius": 4
                                                        }
                                                    }
                                                },
                                                "convergence": {
                                                    "iteration": "100x100x70x20",
                                                    "convergenceThreshold": 1e-9,
                                                    "convergenceWindowSize": 15
                                                },
                                                "smoothing_sigmas": "3.0x2.0x1.0x0.0",
                                                "shrink_factors": "6x4x2x1",
                                                "use_histogram_matching": true,
                                                "winsorize_image_intensities": {
                                                    "lowerQuantile": 0.01,
                                                    "upperQuantile": 0.99
                                                }
                                            }
                                        }
                                    }
                                },
                                "fsl": {
                                    "interpolation": "sinc"
                                }
                            },
                            "epi_template": {
                                "enabled": false,
                                "template_epi": "s3://fcp-indi/resources/cpac/resources/epi_hbn.nii.gz",
                                "ANTs_para_EPI_registration": {
                                    "collapse_output_transforms": 0,
                                    "dimensionality": 3,
                                    "initial_moving_transform": {
                                        "initializationFeature": 0
                                    },
                                    "transforms": {
                                        "Rigid": {
                                            "enabled": true,
                                            "gradientStep": 0.1,
                                            "convergence": {
                                                "iteration": "1000x500x250x100",
                                                "convergenceThreshold": 1e-8,
                                                "convergenceWindowSize": 10
                                            },
                                            "smoothing_sigmas": "3.0x2.0x1.0x0.0",
                                            "shrink_factors": "8x4x2x1",
                                            "use_histogram_matching": true,
                                            "metric": {
                                                "type": {
                                                    "MI": {
                                                        "metricWeight": 1,
                                                        "numberOfBins": 32,
                                                        "samplingStrategy": "Regular",
                                                        "samplingPercentage": 0.25,
                                                        "enabled": true
                                                    }
                                                }
                                            }
                                        },
                                        "Affine": {
                                            "enabled": true,
                                            "gradientStep": 0.1,
                                            "convergence": {
                                                "iteration": "1000x500x250x100",
                                                "convergenceThreshold": 1e-8,
                                                "convergenceWindowSize": 10
                                            },
                                            "smoothing_sigmas": "3.0x2.0x1.0x0.0",
                                            "shrink_factors": "8x4x2x1",
                                            "use_histogram_matching": true,
                                            "metric": {
                                                "type": {
                                                    "MI": {
                                                        "metricWeight": 1,
                                                        "numberOfBins": 32,
                                                        "samplingStrategy": "Regular",
                                                        "samplingPercentage": 0.25,
                                                        "enabled": true
                                                    }
                                                }
                                            }
                                        },
                                        "SyN": {
                                            "enabled": true,
                                            "gradientStep": 0.1,
                                            "updateFieldVarianceInVoxelSpace": 3,
                                            "totalFieldVarianceInVoxelSpace": 0,
                                            "convergence": {
                                                "iteration": "100x100x70x20",
                                                "convergenceThreshold": 1e-9,
                                                "convergenceWindowSize": 15
                                            },
                                            "smoothing_sigmas": "3.0x2.0x1.0x0.0",
                                            "shrink_factors": "6x4x2x1",
                                            "use_histogram_matching": true,
                                            "winsorize_image_intensities": {
                                                "lowerQuantile": 0.01,
                                                "upperQuantile": 0.99
                                            },
                                            "metric": {
                                                "type": {
                                                    "CC": {
                                                        "metricWeight": 1,
                                                        "radius": 4,
                                                        "enabled": true
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            },
                            "t1_template": {
                                "enabled": true,
                                "brain_template": "${environment.paths.fsl_dir}/data/standard/MNI152_T1_${pipeline.functional.template_registration.functional_resolution}mm_brain.nii.gz",
                                "skull_template": "${environment.paths.fsl_dir}/data/standard/MNI152_T1_${pipeline.functional.template_registration.functional_resolution}mm.nii.gz"
                            }
                        },
                        "nuisance_regression": {
                            "enabled": true,
                            "lateral_ventricles_mask": "${environment.paths.fsl_dir}/data/atlases/HarvardOxford/HarvardOxford-lateral-ventricles-thr25-2mm.nii.gz",
                            "regressors": [
                                {
                                    "GrayMatter": {
                                        "enabled": false,
                                        "summary": {
                                            "method": "Mean"
                                        },
                                        "erode_mask": true,
                                        "extraction_resolution": 2,
                                        "include_delayed": false,
                                        "include_squared": false,
                                        "include_delayed_squared": false
                                    },
                                    "WhiteMatter": {
                                        "enabled": false,
                                        "summary": {
                                            "method": "Mean"
                                        },
                                        "erode_mask": true,
                                        "extraction_resolution": 2,
                                        "include_delayed": false,
                                        "include_squared": false,
                                        "include_delayed_squared": false
                                    },
                                    "CerebrospinalFluid": {
                                        "enabled": true,
                                        "summary": {
                                            "method": "Mean"
                                        },
                                        "erode_mask": false,
                                        "extraction_resolution": 2,
                                        "include_delayed": false,
                                        "include_squared": false,
                                        "include_delayed_squared": false
                                    },
                                    "aCompCor": {
                                        "enabled": true,
                                        "summary": {
                                            "filter": null,
                                            "method": "DetrendPC",
                                            "components": 5
                                        },
                                        "tissues": [
                                            "WhiteMatter",
                                            "CerebrospinalFluid"
                                        ],
                                        "extraction_resolution": 2,
                                        "include_delayed": false,
                                        "include_squared": false,
                                        "include_delayed_squared": false
                                    },
                                    "tCompCor": {
                                        "enabled": false,
                                        "summary": {
                                            "filter": " ",
                                            "method": "PC",
                                            "components": 5
                                        },
                                        "degree": 1,
                                        "threshold": "1.5SD",
                                        "by_slice": true,
                                        "include_delayed": false,
                                        "include_squared": false,
                                        "include_delayed_squared": false,
                                        "erode_mask": false,
                                        "erode_mask_mm": false
                                    },
                                    "GlobalSignal": {
                                        "enabled": true,
                                        "summary": {
                                            "method": "Mean"
                                        },
                                        "include_delayed": false,
                                        "include_squared": false,
                                        "include_delayed_squared": false
                                    },
                                    "Motion": {
                                        "enabled": true,
                                        "include_delayed": true,
                                        "include_squared": true,
                                        "include_delayed_squared": true
                                    },
                                    "PolyOrt": {
                                        "enabled": true,
                                        "degree": 2
                                    },
                                    "Bandpass": {
                                        "enabled": true,
                                        "bottom_frequency": 0.01,
                                        "top_frequency": 0.1
                                    },
                                    "Censor": {
                                        "enabled": false,
                                        "method": "Kill",
                                        "threshold": {
                                            "type": "FD_P",
                                            "value": 0
                                        },
                                        "number_of_previous_trs_to_censor": 1,
                                        "number_of_subsequent_trs_to_censor": 2
                                    }
                                },
                                {
                                    "GrayMatter": {
                                        "enabled": false,
                                        "summary": {
                                            "method": "Mean"
                                        },
                                        "erode_mask": true,
                                        "extraction_resolution": 2,
                                        "include_delayed": false,
                                        "include_squared": false,
                                        "include_delayed_squared": false
                                    },
                                    "WhiteMatter": {
                                        "enabled": false,
                                        "summary": {
                                            "method": "Mean"
                                        },
                                        "erode_mask": true,
                                        "extraction_resolution": 2,
                                        "include_delayed": false,
                                        "include_squared": false,
                                        "include_delayed_squared": false
                                    },
                                    "CerebrospinalFluid": {
                                        "enabled": true,
                                        "summary": {
                                            "method": "Mean"
                                        },
                                        "erode_mask": false,
                                        "extraction_resolution": 2,
                                        "include_delayed": false,
                                        "include_squared": false,
                                        "include_delayed_squared": false
                                    },
                                    "aCompCor": {
                                        "enabled": true,
                                        "summary": {
                                            "filter": null,
                                            "method": "DetrendPC",
                                            "components": 5
                                        },
                                        "tissues": [
                                            "WhiteMatter",
                                            "CerebrospinalFluid"
                                        ],
                                        "extraction_resolution": 2,
                                        "include_delayed": false,
                                        "include_squared": false,
                                        "include_delayed_squared": false
                                    },
                                    "tCompCor": {
                                        "enabled": false,
                                        "summary": {
                                            "filter": " ",
                                            "method": "PC",
                                            "components": 5
                                        },
                                        "degree": 1,
                                        "threshold": "1.5SD",
                                        "by_slice": true,
                                        "include_delayed": false,
                                        "include_squared": false,
                                        "include_delayed_squared": false,
                                        "erode_mask": false,
                                        "erode_mask_mm": false
                                    },
                                    "GlobalSignal": {
                                        "enabled": false,
                                        "summary": {
                                            "method": "Mean"
                                        },
                                        "include_delayed": false,
                                        "include_squared": false,
                                        "include_delayed_squared": false
                                    },
                                    "Motion": {
                                        "enabled": true,
                                        "include_delayed": true,
                                        "include_squared": true,
                                        "include_delayed_squared": true
                                    },
                                    "PolyOrt": {
                                        "enabled": true,
                                        "degree": 2
                                    },
                                    "Bandpass": {
                                        "enabled": true,
                                        "bottom_frequency": 0.01,
                                        "top_frequency": 0.1
                                    },
                                    "Censor": {
                                        "enabled": false,
                                        "method": "Kill",
                                        "threshold": {
                                            "type": "FD_P",
                                            "value": 0
                                        },
                                        "number_of_previous_trs_to_censor": 1,
                                        "number_of_subsequent_trs_to_censor": 2
                                    }
                                }
                            ]
                        },
                        "median_angle_correction": {
                            "enabled": false,
                            "target_angle": 90
                        },
                        "aroma": {
                            "enabled": false,
                            "denoising_strategy": "non-aggressive"
                        },
                        "smoothing": {
                            "enabled": true,
                            "kernel_fwhm": 4,
                            "before_zscore": true,
                            "zscore_derivatives": true
                        }
                    },
                    "longitudinal": {
                        "enabled": true,
                        "run_anatomical": false,
                        "run_functional": false,
                        "average_method": "median",
                        "dof": 12,
                        "interpolation": "trilinear",
                        "cost_function": "corratio",
                        "thread_pool": 2,
                        "convergence_threshold": -1
                    },
                    "derivatives": {
                        "enabled": true,
                        "timeseries_extraction": {
                            "enabled": true,
                            "masks": [
                                {
                                    "mask": "s3://fcp-indi/resources/cpac/resources/CC400.nii.gz",
                                    "average": true,
                                    "voxel": false,
                                    "spatial_regression": false,
                                    "pearson_correlation": false,
                                    "partial_correlation": false
                                },
                                {
                                    "mask": "s3://fcp-indi/resources/cpac/resources/ez_mask_pad.nii.gz",
                                    "average": true,
                                    "voxel": false,
                                    "spatial_regression": false,
                                    "pearson_correlation": false,
                                    "partial_correlation": false
                                },
                                {
                                    "mask": "s3://fcp-indi/resources/cpac/resources/aal_mask_pad.nii.gz",
                                    "average": true,
                                    "voxel": false,
                                    "spatial_regression": false,
                                    "pearson_correlation": false,
                                    "partial_correlation": false
                                },
                                {
                                    "mask": "s3://fcp-indi/resources/cpac/resources/CC200.nii.gz",
                                    "average": true,
                                    "voxel": false,
                                    "spatial_regression": false,
                                    "pearson_correlation": false,
                                    "partial_correlation": false
                                },
                                {
                                    "mask": "s3://fcp-indi/resources/cpac/resources/tt_mask_pad.nii.gz",
                                    "average": true,
                                    "voxel": false,
                                    "spatial_regression": false,
                                    "pearson_correlation": false,
                                    "partial_correlation": false
                                },
                                {
                                    "mask": "s3://fcp-indi/resources/cpac/resources/PNAS_Smith09_rsn10.nii.gz",
                                    "average": false,
                                    "voxel": false,
                                    "spatial_regression": true,
                                    "pearson_correlation": false,
                                    "partial_correlation": false
                                },
                                {
                                    "mask": "s3://fcp-indi/resources/cpac/resources/ho_mask_pad.nii.gz",
                                    "average": true,
                                    "voxel": false,
                                    "spatial_regression": false,
                                    "pearson_correlation": false,
                                    "partial_correlation": false
                                },
                                {
                                    "mask": "s3://fcp-indi/resources/cpac/resources/rois_3mm.nii.gz",
                                    "average": true,
                                    "voxel": false,
                                    "spatial_regression": false,
                                    "pearson_correlation": false,
                                    "partial_correlation": false
                                }
                            ],
                            "realignment": {
                                "roi_to_func": true,
                                "func_to_roi": false
                            },
                            "outputs": {
                                "csv": true,
                                "numpy": true
                            }
                        },
                        "sca": {
                            "enabled": true,
                            "masks": [
                                {
                                    "mask": "s3://fcp-indi/resources/cpac/resources/PNAS_Smith09_rsn10.nii.gz",
                                    "average": false,
                                    "dual_regression": true,
                                    "multiple_regression": false
                                },
                                {
                                    "mask": "s3://fcp-indi/resources/cpac/resources/CC400.nii.gz",
                                    "average": true,
                                    "dual_regression": false,
                                    "multiple_regression": true
                                },
                                {
                                    "mask": "s3://fcp-indi/resources/cpac/resources/ez_mask_pad.nii.gz",
                                    "average": true,
                                    "dual_regression": false,
                                    "multiple_regression": true
                                },
                                {
                                    "mask": "s3://fcp-indi/resources/cpac/resources/aal_mask_pad.nii.gz",
                                    "average": true,
                                    "dual_regression": false,
                                    "multiple_regression": true
                                },
                                {
                                    "mask": "s3://fcp-indi/resources/cpac/resources/CC200.nii.gz",
                                    "average": true,
                                    "dual_regression": false,
                                    "multiple_regression": true
                                },
                                {
                                    "mask": "s3://fcp-indi/resources/cpac/resources/tt_mask_pad.nii.gz",
                                    "average": true,
                                    "dual_regression": false,
                                    "multiple_regression": true
                                },
                                {
                                    "mask": "s3://fcp-indi/resources/cpac/resources/ho_mask_pad.nii.gz",
                                    "average": true,
                                    "dual_regression": false,
                                    "multiple_regression": true
                                },
                                {
                                    "mask": "s3://fcp-indi/resources/cpac/resources/rois_3mm.nii.gz",
                                    "average": true,
                                    "dual_regression": false,
                                    "multiple_regression": true
                                }
                            ],
                            "normalize": true
                        },
                        "vmhc": {
                            "enabled": true,
                            "symmetric_brain": "$FSLDIR/data/standard/MNI152_T1_${pipeline.anatomical.registration.resolution}mm_brain_symmetric.nii.gz",
                            "symmetric_skull": "$FSLDIR/data/standard/MNI152_T1_${pipeline.anatomical.registration.resolution}mm_symmetric.nii.gz",
                            "dilated_symmetric_brain": "$FSLDIR/data/standard/MNI152_T1_${pipeline.anatomical.registration.resolution}mm_brain_mask_symmetric_dil.nii.gz",
                            "flirt_configuration_file": "$FSLDIR/etc/flirtsch/T1_2_MNI152_2mm.cnf"
                        },
                        "alff": {
                            "enabled": true,
                            "cutoff": {
                                "low": 0.1,
                                "high": 0.01
                            }
                        },
                        "reho": {
                            "enabled": true,
                            "cluster_size": 27
                        },
                        "network_centrality": {
                            "enabled": true,
                            "mask": "s3://fcp-indi/resources/cpac/resources/mask-thr50-3mm.nii.gz",
                            "degree_centrality": {
                                "binarized": true,
                                "weighted": true,
                                "threshold_type": "sparsity",
                                "threshold": 0.001
                            },
                            "eigenvector": {
                                "binarized": true,
                                "weighted": true,
                                "threshold_type": "sparsity",
                                "threshold": 0.001
                            },
                            "local_connectivity_density": {
                                "binarized": true,
                                "weighted": true,
                                "threshold_type": "significance",
                                "threshold": 0.001
                            }
                        },
                        "pypeer": {
                            "enabled": false,
                            "eye_scan_names": "",
                            "data_scan_names": "",
                            "eye_mask_path": "$FSLDIR/data/standard/MNI152_T1_${pipeline.functional.template_registration.functional_resolution}mm_eye_mask.nii.gz",
                            "stimulus_path": "",
                            "gsr": true,
                            "scrub": {
                                "enabled": false,
                                "threshold": 0.2
                            }
                        }
                    }
                }
            }
        }
    }
]

1.8

[
    {
        "id": "default-1.8.0",
        "name": "Default",
        "versions": {
            "0": {
                "version": "1.8.0",
                "configuration": {
                    "pipeline_setup": {
                        "pipeline_name": "cpac-default-pipeline",
                        "output_directory": {
                            "path": "/output",
                            "source_outputs_dir": "None",
                            "pull_source_once": true,
                            "write_func_outputs": false,
                            "write_debugging_outputs": false,
                            "output_tree": "default",
                            "generate_quality_control_images": true
                        },
                        "working_directory": {
                            "path": "/tmp",
                            "remove_working_dir": true
                        },
                        "log_directory": {
                            "run_logging": true,
                            "path": "/logs"
                        },
                        "crash_log_directory": {
                            "path": "/crash"
                        },
                        "system_config": {
                            "on_grid": {
                                "run": false,
                                "resource_manager": "SGE",
                                "SGE": {
                                    "parallel_environment": "mpi_smp",
                                    "queue": "all.q"
                                }
                            },
                            "maximum_memory_per_participant": 1,
                            "max_cores_per_participant": 1,
                            "num_ants_threads": 1,
                            "num_OMP_threads": 1,
                            "num_participants_at_once": 1,
                            "FSLDIR": "/usr/share/fsl/5.0"
                        },
                        "Amazon-AWS": {
                            "aws_output_bucket_credentials": null,
                            "s3_encryption": false
                        },
                        "Debugging": {
                            "verbose": false
                        }
                    },
                    "surface_analysis": {
                        "run_freesurfer": false
                    },
                    "longitudinal_template_generation": {
                        "run": false,
                        "average_method": "median",
                        "dof": 12,
                        "interp": "trilinear",
                        "cost": "corratio",
                        "thread_pool": 2,
                        "convergence_threshold": -1
                    },
                    "anatomical_preproc": {
                        "run": true,
                        "non_local_means_filtering": false,
                        "n4_bias_field_correction": false,
                        "acpc_alignment": {
                            "run": false,
                            "run_before_preproc": true,
                            "brain_size": 150,
                            "acpc_target": "whole-head",
                            "T1w_ACPC_template": "/usr/share/fsl/5.0/data/standard/MNI152_T1_1mm.nii.gz",
                            "T1w_brain_ACPC_template": "None"
                        },
                        "brain_extraction": {
                            "using": [
                                "3dSkullStrip"
                            ],
                            "AFNI-3dSkullStrip": {
                                "mask_vol": false,
                                "shrink_factor": 0.6,
                                "var_shrink_fac": true,
                                "shrink_factor_bot_lim": 0.4,
                                "avoid_vent": true,
                                "n_iterations": 250,
                                "pushout": true,
                                "touchup": true,
                                "fill_hole": 10,
                                "NN_smooth": 72,
                                "smooth_final": 20,
                                "avoid_eyes": true,
                                "use_edge": true,
                                "exp_frac": 0.1,
                                "push_to_edge": false,
                                "use_skull": false,
                                "perc_int": 0,
                                "max_inter_iter": 4,
                                "fac": 1,
                                "blur_fwhm": 0,
                                "monkey": false
                            },
                            "FSL-BET": {
                                "frac": 0.5,
                                "mask_boolean": true,
                                "mesh_boolean": false,
                                "outline": false,
                                "padding": false,
                                "radius": 0,
                                "reduce_bias": false,
                                "remove_eyes": false,
                                "robust": false,
                                "skull": false,
                                "surfaces": false,
                                "threshold": false,
                                "vertical_gradient": 0
                            },
                            "UNet": {
                                "unet_model": "s3://fcp-indi/resources/cpac/resources/Site-All-T-epoch_36.model"
                            },
                            "niworkflows-ants": {
                                "template_path": "/ants_template/oasis/T_template0.nii.gz",
                                "mask_path": "/ants_template/oasis/T_template0_BrainCerebellumProbabilityMask.nii.gz",
                                "regmask_path": "/ants_template/oasis/T_template0_BrainCerebellumRegistrationMask.nii.gz"
                            }
                        }
                    },
                    "segmentation": {
                        "run": true,
                        "tissue_segmentation": {
                            "using": [
                                "FSL-FAST"
                            ],
                            "FSL-FAST": {
                                "thresholding": {
                                    "use": "Auto",
                                    "Custom": {
                                        "CSF_threshold_value": 0.95,
                                        "WM_threshold_value": 0.95,
                                        "GM_threshold_value": 0.95
                                    }
                                },
                                "use_priors": {
                                    "run": true,
                                    "priors_path": "$FSLDIR/data/standard/tissuepriors/2mm",
                                    "WM_path": "$priors_path/avg152T1_white_bin.nii.gz",
                                    "GM_path": "$priors_path/avg152T1_gray_bin.nii.gz",
                                    "CSF_path": "$priors_path/avg152T1_csf_bin.nii.gz"
                                }
                            },
                            "Template_Based": {
                                "template_for_segmentation": [
                                    "T1_Template"
                                ],
                                "WHITE": "$FSLDIR/data/standard/tissuepriors/2mm/avg152T1_white_bin.nii.gz",
                                "GRAY": "$FSLDIR/data/standard/tissuepriors/2mm/avg152T1_gray_bin.nii.gz",
                                "CSF": "$FSLDIR/data/standard/tissuepriors/2mm/avg152T1_csf_bin.nii.gz"
                            },
                            "ANTs_Prior_Based": {
                                "template_brain_list": [
                                    "/monkey_seg/templates/JointLabelCouncil/MacaqueYerkes19_T1w_0.5mm/T1w_brain.nii.gz",
                                    "/monkey_seg/templates/JointLabelCouncil/J_Macaque_11mo_atlas_nACQ_194x252x160space_0.5mm/T1w_brain.nii.gz"
                                ],
                                "template_segmentation_list": [
                                    "/monkey_seg/templates/JointLabelCouncil/MacaqueYerkes19_T1w_0.5mm/Segmentation.nii.gz",
                                    "/monkey_seg/templates/JointLabelCouncil/J_Macaque_11mo_atlas_nACQ_194x252x160space_0.5mm/Segmentation.nii.gz"
                                ],
                                "CSF_label": 24,
                                "left_GM_label": 3,
                                "right_GM_label": 42,
                                "left_WM_label": 2,
                                "right_WM_label": 41
                            }
                        }
                    },
                    "registration_workflows": {
                        "anatomical_registration": {
                            "run": true,
                            "resolution_for_anat": "2mm",
                            "T1w_brain_template": "/usr/share/fsl/5.0/data/standard/MNI152_T1_${resolution_for_anat}_brain.nii.gz",
                            "T1w_template": "/usr/share/fsl/5.0/data/standard/MNI152_T1_${resolution_for_anat}.nii.gz",
                            "T1w_brain_template_mask": "/usr/share/fsl/5.0/data/standard/MNI152_T1_${resolution_for_anat}_brain_mask.nii.gz",
                            "reg_with_skull": true,
                            "registration": {
                                "using": [
                                    "ANTS"
                                ],
                                "ANTs": {
                                    "use_lesion_mask": false,
                                    "T1_registration": [
                                        {
                                            "collapse-output-transforms": 0
                                        },
                                        {
                                            "dimensionality": 3
                                        },
                                        {
                                            "initial-moving-transform": {
                                                "initializationFeature": 0
                                            }
                                        },
                                        {
                                            "transforms": [
                                                {
                                                    "Rigid": {
                                                        "gradientStep": 0.1,
                                                        "metric": {
                                                            "type": "MI",
                                                            "metricWeight": 1,
                                                            "numberOfBins": 32,
                                                            "samplingStrategy": "Regular",
                                                            "samplingPercentage": 0.25
                                                        },
                                                        "convergence": {
                                                            "iteration": "1000x500x250x100",
                                                            "convergenceThreshold": 1e-8,
                                                            "convergenceWindowSize": 10
                                                        },
                                                        "smoothing-sigmas": "3.0x2.0x1.0x0.0",
                                                        "shrink-factors": "8x4x2x1",
                                                        "use-histogram-matching": true
                                                    }
                                                },
                                                {
                                                    "Affine": {
                                                        "gradientStep": 0.1,
                                                        "metric": {
                                                            "type": "MI",
                                                            "metricWeight": 1,
                                                            "numberOfBins": 32,
                                                            "samplingStrategy": "Regular",
                                                            "samplingPercentage": 0.25
                                                        },
                                                        "convergence": {
                                                            "iteration": "1000x500x250x100",
                                                            "convergenceThreshold": 1e-8,
                                                            "convergenceWindowSize": 10
                                                        },
                                                        "smoothing-sigmas": "3.0x2.0x1.0x0.0",
                                                        "shrink-factors": "8x4x2x1",
                                                        "use-histogram-matching": true
                                                    }
                                                },
                                                {
                                                    "SyN": {
                                                        "gradientStep": 0.1,
                                                        "updateFieldVarianceInVoxelSpace": 3,
                                                        "totalFieldVarianceInVoxelSpace": 0,
                                                        "metric": {
                                                            "type": "CC",
                                                            "metricWeight": 1,
                                                            "radius": 4
                                                        },
                                                        "convergence": {
                                                            "iteration": "100x100x70x20",
                                                            "convergenceThreshold": 1e-9,
                                                            "convergenceWindowSize": 15
                                                        },
                                                        "smoothing-sigmas": "3.0x2.0x1.0x0.0",
                                                        "shrink-factors": "6x4x2x1",
                                                        "use-histogram-matching": true,
                                                        "winsorize-image-intensities": {
                                                            "lowerQuantile": 0.01,
                                                            "upperQuantile": 0.99
                                                        }
                                                    }
                                                }
                                            ]
                                        }
                                    ],
                                    "interpolation": "LanczosWindowedSinc"
                                },
                                "FSL-FNIRT": {
                                    "fnirt_config": "T1_2_MNI152_2mm",
                                    "ref_mask": "/usr/share/fsl/5.0/data/standard/MNI152_T1_${resolution_for_anat}_brain_mask_dil.nii.gz",
                                    "interpolation": "sinc",
                                    "identity_matrix": "/usr/share/fsl/5.0/etc/flirtsch/ident.mat"
                                }
                            }
                        },
                        "functional_registration": {
                            "coregistration": {
                                "run": true,
                                "func_input_prep": {
                                    "input": [
                                        "Mean_Functional"
                                    ],
                                    "Mean Functional": {
                                        "n4_correct_func": false
                                    },
                                    "Selected Functional Volume": {
                                        "func_reg_input_volume": 0
                                    }
                                },
                                "boundary_based_registration": {
                                    "run": [
                                        true
                                    ],
                                    "bbr_schedule": "/usr/share/fsl/5.0/etc/flirtsch/bbr.sch"
                                }
                            },
                            "EPI_registration": {
                                "run": false,
                                "using": [
                                    "ANTS"
                                ],
                                "EPI_template": "s3://fcp-indi/resources/cpac/resources/epi_hbn.nii.gz",
                                "EPI_template_mask": "None",
                                "ANTs": {
                                    "parameters": [
                                        {
                                            "collapse-output-transforms": 0
                                        },
                                        {
                                            "dimensionality": 3
                                        },
                                        {
                                            "initial-moving-transform": {
                                                "initializationFeature": 0
                                            }
                                        },
                                        {
                                            "transforms": [
                                                {
                                                    "Rigid": {
                                                        "gradientStep": 0.1,
                                                        "metric": {
                                                            "type": "MI",
                                                            "metricWeight": 1,
                                                            "numberOfBins": 32,
                                                            "samplingStrategy": "Regular",
                                                            "samplingPercentage": 0.25
                                                        },
                                                        "convergence": {
                                                            "iteration": "1000x500x250x100",
                                                            "convergenceThreshold": 1e-8,
                                                            "convergenceWindowSize": 10
                                                        },
                                                        "smoothing-sigmas": "3.0x2.0x1.0x0.0",
                                                        "shrink-factors": "8x4x2x1",
                                                        "use-histogram-matching": true
                                                    }
                                                },
                                                {
                                                    "Affine": {
                                                        "gradientStep": 0.1,
                                                        "metric": {
                                                            "type": "MI",
                                                            "metricWeight": 1,
                                                            "numberOfBins": 32,
                                                            "samplingStrategy": "Regular",
                                                            "samplingPercentage": 0.25
                                                        },
                                                        "convergence": {
                                                            "iteration": "1000x500x250x100",
                                                            "convergenceThreshold": 1e-8,
                                                            "convergenceWindowSize": 10
                                                        },
                                                        "smoothing-sigmas": "3.0x2.0x1.0x0.0",
                                                        "shrink-factors": "8x4x2x1",
                                                        "use-histogram-matching": true
                                                    }
                                                },
                                                {
                                                    "SyN": {
                                                        "gradientStep": 0.1,
                                                        "updateFieldVarianceInVoxelSpace": 3,
                                                        "totalFieldVarianceInVoxelSpace": 0,
                                                        "metric": {
                                                            "type": "CC",
                                                            "metricWeight": 1,
                                                            "radius": 4
                                                        },
                                                        "convergence": {
                                                            "iteration": "100x100x70x20",
                                                            "convergenceThreshold": 1e-9,
                                                            "convergenceWindowSize": 15
                                                        },
                                                        "smoothing-sigmas": "3.0x2.0x1.0x0.0",
                                                        "shrink-factors": "6x4x2x1",
                                                        "use-histogram-matching": true,
                                                        "winsorize-image-intensities": {
                                                            "lowerQuantile": 0.01,
                                                            "upperQuantile": 0.99
                                                        }
                                                    }
                                                }
                                            ]
                                        }
                                    ],
                                    "interpolation": "LanczosWindowedSinc"
                                },
                                "FSL-FNIRT": {
                                    "fnirt_config": "T1_2_MNI152_2mm",
                                    "interpolation": "sinc",
                                    "identity_matrix": "/usr/share/fsl/5.0/etc/flirtsch/ident.mat"
                                }
                            },
                            "func_registration_to_template": {
                                "run": true,
                                "output_resolution": {
                                    "func_preproc_outputs": "3mm",
                                    "func_derivative_outputs": "3mm"
                                },
                                "target_template": {
                                    "using": [
                                        "T1_template"
                                    ],
                                    "T1_template": {
                                        "T1w_brain_template_funcreg": "/usr/share/fsl/5.0/data/standard/MNI152_T1_${func_resolution}_brain.nii.gz",
                                        "T1w_template_funcreg": "/usr/share/fsl/5.0/data/standard/MNI152_T1_${func_resolution}.nii.gz",
                                        "T1w_brain_template_mask_funcreg": "/usr/share/fsl/5.0/data/standard/MNI152_T1_${func_resolution}_brain_mask.nii.gz",
                                        "T1w_template_for_resample": "$FSLDIR/data/standard/MNI152_T1_1mm_brain.nii.gz"
                                    },
                                    "EPI_template": {
                                        "EPI_template_funcreg": "s3://fcp-indi/resources/cpac/resources/epi_hbn.nii.gz",
                                        "EPI_template_mask_funcreg": "None",
                                        "EPI_template_for_resample": "$FSLDIR/data/standard/MNI152_T1_1mm_brain.nii.gz"
                                    }
                                },
                                "ANTs_pipelines": {
                                    "interpolation": "LanczosWindowedSinc"
                                },
                                "FNIRT_pipelines": {
                                    "interpolation": "sinc",
                                    "identity_matrix": "/usr/share/fsl/5.0/etc/flirtsch/ident.mat"
                                }
                            }
                        }
                    },
                    "functional_preproc": {
                        "run": true,
                        "truncation": {
                            "start_tr": 0,
                            "stop_tr": "None"
                        },
                        "scaling": {
                            "run": false,
                            "scaling_factor": 10
                        },
                        "despiking": {
                            "run": [
                                false
                            ]
                        },
                        "slice_timing_correction": {
                            "run": [
                                true
                            ]
                        },
                        "motion_estimates_and_correction": {
                            "calculate_motion_first": false,
                            "motion_correction": {
                                "using": [
                                    "3dvolreg"
                                ],
                                "AFNI-3dvolreg": {
                                    "functional_volreg_twopass": true
                                },
                                "motion_correction_reference": [
                                    "mean"
                                ],
                                "motion_correction_reference_volume": 0
                            },
                            "motion_estimate_filter": {
                                "run": [
                                    false
                                ],
                                "filter_type": "notch",
                                "filter_order": 4,
                                "breathing_rate_min": null,
                                "breathing_rate_max": null,
                                "center_frequency": null,
                                "filter_bandwidth": null,
                                "lowpass_cutoff": null
                            }
                        },
                        "distortion_correction": {
                            "run": [
                                true
                            ],
                            "using": [
                                "PhaseDiff",
                                "Blip"
                            ],
                            "PhaseDiff": {
                                "fmap_skullstrip_option": "BET",
                                "fmap_skullstrip_BET_frac": 0.5,
                                "fmap_skullstrip_AFNI_threshold": 0.6
                            }
                        },
                        "func_masking": {
                            "using": [
                                "AFNI"
                            ],
                            "FSL-BET": {
                                "functional_mean_boolean": false,
                                "frac": 0.3,
                                "mesh_boolean": false,
                                "outline": false,
                                "padding": false,
                                "radius": 0,
                                "reduce_bias": false,
                                "remove_eyes": false,
                                "robust": false,
                                "skull": false,
                                "surfaces": false,
                                "threshold": false,
                                "vertical_gradient": 0
                            },
                            "Anatomical_Refined": {
                                "anatomical_mask_dilation": false
                            }
                        }
                    },
                    "nuisance_corrections": {
                        "1-ICA-AROMA": {
                            "run": [
                                false
                            ],
                            "denoising_type": "nonaggr"
                        },
                        "2-nuisance_regression": {
                            "run": [
                                true
                            ],
                            "Regressors": [
                                {
                                    "Name": "default",
                                    "Motion": {
                                        "include_delayed": true,
                                        "include_squared": true,
                                        "include_delayed_squared": true
                                    },
                                    "aCompCor": {
                                        "summary": {
                                            "method": "DetrendPC",
                                            "components": 5
                                        },
                                        "tissues": [
                                            "WhiteMatter",
                                            "CerebrospinalFluid"
                                        ],
                                        "extraction_resolution": 2
                                    },
                                    "CerebrospinalFluid": {
                                        "summary": "Mean",
                                        "extraction_resolution": 2,
                                        "erode_mask": true
                                    },
                                    "GlobalSignal": {
                                        "summary": "Mean"
                                    },
                                    "PolyOrt": {
                                        "degree": 2
                                    },
                                    "Bandpass": {
                                        "bottom_frequency": 0.01,
                                        "top_frequency": 0.1,
                                        "method": "default"
                                    }
                                },
                                {
                                    "Name": "defaultNoGSR",
                                    "Motion": {
                                        "include_delayed": true,
                                        "include_squared": true,
                                        "include_delayed_squared": true
                                    },
                                    "aCompCor": {
                                        "summary": {
                                            "method": "DetrendPC",
                                            "components": 5
                                        },
                                        "tissues": [
                                            "WhiteMatter",
                                            "CerebrospinalFluid"
                                        ],
                                        "extraction_resolution": 2
                                    },
                                    "CerebrospinalFluid": {
                                        "summary": "Mean",
                                        "extraction_resolution": 2,
                                        "erode_mask": true
                                    },
                                    "PolyOrt": {
                                        "degree": 2
                                    },
                                    "Bandpass": {
                                        "bottom_frequency": 0.01,
                                        "top_frequency": 0.1,
                                        "method": "default"
                                    }
                                }
                            ],
                            "lateral_ventricles_mask": "$FSLDIR/data/atlases/HarvardOxford/HarvardOxford-lateral-ventricles-thr25-2mm.nii.gz",
                            "bandpass_filtering_order": "After",
                            "regressor_masks": {
                                "erode_anatomical_brain_mask": {
                                    "run": false,
                                    "brain_mask_erosion_prop": 0,
                                    "brain_mask_erosion_mm": 30,
                                    "brain_erosion_mm": 0
                                },
                                "erode_csf": {
                                    "run": false,
                                    "csf_erosion_prop": 0,
                                    "csf_mask_erosion_mm": 30,
                                    "csf_erosion_mm": 0
                                },
                                "erode_wm": {
                                    "run": false,
                                    "wm_erosion_prop": 0.6,
                                    "wm_mask_erosion_mm": 0,
                                    "wm_erosion_mm": 0
                                },
                                "erode_gm": {
                                    "run": false,
                                    "gm_erosion_prop": 0.6,
                                    "gm_mask_erosion_mm": 30,
                                    "gm_erosion_mm": 0
                                }
                            }
                        }
                    },
                    "post_processing": {
                        "spatial_smoothing": {
                            "output": [
                                "smoothed"
                            ],
                            "smoothing_method": [
                                "FSL"
                            ],
                            "fwhm": [
                                4
                            ]
                        },
                        "z-scoring": {
                            "output": [
                                "z-scored"
                            ]
                        }
                    },
                    "timeseries_extraction": {
                        "run": true,
                        "tse_roi_paths": {
                            "/cpac_templates/CC400.nii.gz": "Avg",
                            "/cpac_templates/aal_mask_pad.nii.gz": "Avg",
                            "/cpac_templates/CC200.nii.gz": "Avg",
                            "/cpac_templates/tt_mask_pad.nii.gz": "Avg",
                            "/cpac_templates/PNAS_Smith09_rsn10.nii.gz": "SpatialReg",
                            "/cpac_templates/ho_mask_pad.nii.gz": "Avg",
                            "/cpac_templates/rois_3mm.nii.gz": "Avg",
                            "/ndmg_atlases/label/Human/AAL_space-MNI152NLin6_res-1x1x1.nii.gz": "Avg",
                            "/ndmg_atlases/label/Human/CAPRSC_space-MNI152NLin6_res-1x1x1.nii.gz": "Avg",
                            "/ndmg_atlases/label/Human/DKT_space-MNI152NLin6_res-1x1x1.nii.gz": "Avg",
                            "/ndmg_atlases/label/Human/DesikanKlein_space-MNI152NLin6_res-1x1x1.nii.gz": "Avg",
                            "/ndmg_atlases/label/Human/HarvardOxfordcort-maxprob-thr25_space-MNI152NLin6_res-1x1x1.nii.gz": "Avg",
                            "/ndmg_atlases/label/Human/HarvardOxfordsub-maxprob-thr25_space-MNI152NLin6_res-1x1x1.nii.gz": "Avg",
                            "/ndmg_atlases/label/Human/Juelich_space-MNI152NLin6_res-1x1x1.nii.gz": "Avg",
                            "/ndmg_atlases/label/Human/MICCAI_space-MNI152NLin6_res-1x1x1.nii.gz": "Avg",
                            "/ndmg_atlases/label/Human/Schaefer1000_space-MNI152NLin6_res-1x1x1.nii.gz": "Avg",
                            "/ndmg_atlases/label/Human/Schaefer200_space-MNI152NLin6_res-1x1x1.nii.gz": "Avg",
                            "/ndmg_atlases/label/Human/Schaefer300_space-MNI152NLin6_res-1x1x1.nii.gz": "Avg",
                            "/ndmg_atlases/label/Human/Schaefer400_space-MNI152NLin6_res-1x1x1.nii.gz": "Avg",
                            "/ndmg_atlases/label/Human/Talairach_space-MNI152NLin6_res-1x1x1.nii.gz": "Avg",
                            "/ndmg_atlases/label/Human/Brodmann_space-MNI152NLin6_res-1x1x1.nii.gz": "Avg",
                            "/ndmg_atlases/label/Human/Desikan_space-MNI152NLin6_res-1x1x1.nii.gz": "Avg",
                            "/ndmg_atlases/label/Human/Glasser_space-MNI152NLin6_res-1x1x1.nii.gz": "Avg",
                            "/ndmg_atlases/label/Human/Slab907_space-MNI152NLin6_res-1x1x1.nii.gz": "Avg",
                            "/ndmg_atlases/label/Human/Yeo-17-liberal_space-MNI152NLin6_res-1x1x1.nii.gz": "Avg",
                            "/ndmg_atlases/label/Human/Yeo-17_space-MNI152NLin6_res-1x1x1.nii.gz": "Avg",
                            "/ndmg_atlases/label/Human/Yeo-7-liberal_space-MNI152NLin6_res-1x1x1.nii.gz": "Avg",
                            "/ndmg_atlases/label/Human/Yeo-7_space-MNI152NLin6_res-1x1x1.nii.gz": "Avg"
                        },
                        "realignment": "ROI_to_func"
                    },
                    "seed_based_correlation_analysis": {
                        "run": true,
                        "sca_roi_paths": {
                            "/cpac_templates/PNAS_Smith09_rsn10.nii.gz": "DualReg",
                            "/cpac_templates/CC400.nii.gz": "Avg, MultReg",
                            "/cpac_templates/ez_mask_pad.nii.gz": "Avg, MultReg",
                            "/cpac_templates/aal_mask_pad.nii.gz": "Avg, MultReg",
                            "/cpac_templates/CC200.nii.gz": "Avg, MultReg",
                            "/cpac_templates/tt_mask_pad.nii.gz": "Avg, MultReg",
                            "/cpac_templates/ho_mask_pad.nii.gz": "Avg, MultReg",
                            "/cpac_templates/rois_3mm.nii.gz": "Avg, MultReg"
                        },
                        "norm_timeseries_for_DR": true
                    },
                    "amplitude_low_frequency_fluctuation": {
                        "run": true,
                        "highpass_cutoff": [
                            0.01
                        ],
                        "lowpass_cutoff": [
                            0.1
                        ]
                    },
                    "regional_homogeneity": {
                        "run": true,
                        "cluster_size": 27
                    },
                    "voxel_mirrored_homotopic_connectivity": {
                        "run": true,
                        "symmetric_registration": {
                            "T1w_brain_template_symmetric": "$FSLDIR/data/standard/MNI152_T1_${resolution_for_anat}_brain_symmetric.nii.gz",
                            "T1w_brain_template_symmetric_for_resample": "$FSLDIR/data/standard/MNI152_T1_1mm_brain_symmetric.nii.gz",
                            "T1w_template_symmetric": "$FSLDIR/data/standard/MNI152_T1_${resolution_for_anat}_symmetric.nii.gz",
                            "T1w_template_symmetric_for_resample": "$FSLDIR/data/standard/MNI152_T1_1mm_symmetric.nii.gz",
                            "dilated_symmetric_brain_mask": "$FSLDIR/data/standard/MNI152_T1_${resolution_for_anat}_brain_mask_symmetric_dil.nii.gz",
                            "dilated_symmetric_brain_mask_for_resample": "$FSLDIR/data/standard/MNI152_T1_1mm_brain_mask_symmetric_dil.nii.gz"
                        }
                    },
                    "network_centrality": {
                        "run": true,
                        "memory_allocation": 1,
                        "template_specification_file": "/cpac_templates/Mask_ABIDE_85Percent_GM.nii.gz",
                        "degree_centrality": {
                            "weight_options": [
                                "Binarized",
                                "Weighted"
                            ],
                            "correlation_threshold_option": "Sparsity threshold",
                            "correlation_threshold": 0.001
                        },
                        "eigenvector_centrality": {
                            "weight_options": [
                                "Weighted"
                            ],
                            "correlation_threshold_option": "Sparsity threshold",
                            "correlation_threshold": 0.001
                        },
                        "local_functional_connectivity_density": {
                            "weight_options": [
                                "Binarized",
                                "Weighted"
                            ],
                            "correlation_threshold_option": "Correlation threshold",
                            "correlation_threshold": 0.6
                        }
                    },
                    "PyPEER": {
                        "run": false,
                        "eye_scan_names": [],
                        "data_scan_names": [],
                        "eye_mask_path": "$FSLDIR/data/standard/MNI152_T1_${func_resolution}_eye_mask.nii.gz",
                        "stimulus_path": "None",
                        "minimal_nuisance_correction": {
                            "peer_gsr": true,
                            "peer_scrub": false,
                            "scrub_thresh": 0.2
                        }
                    }
                }
            }
        }
    }
]
shnizzedy commented 3 years ago
  • [x] be able to load nightly after loading latest

https://user-images.githubusercontent.com/5974438/128229179-4c708299-2614-41db-814b-617e2995edb8.mov

  • [x] be able to load latest after loading nightly (less important since nightly will become latest and the old version will be deprecated)

https://user-images.githubusercontent.com/5974438/128229248-205a0f41-e781-4fa8-8c0e-a0108142729e.mov