_scripts merge_hcpΒΆ

Usage

Run using mc_script _scripts merge_hcp after installation or using ~ndcn0236/bin/mc_script _scripts merge_hcp on jalapeno.

Import in python using from mcot.core._scripts import merge_hcp

Documentation

Creates new directory with links to HCP data

The full HCP directory structure is reproduced in the target directory with symlinks to the individual files. The resulting directory will contain the structural, diffusion, and functional data.

Functions

HCP_dir([modality, release]) Gets the parent HCP directory
link(src[, modality, release]) Links to the diffusion data on the jalapeno server or the local copy
merge_hcp(target_dir, subject[, release]) Create a new HCP-like directory in target_dir/subject with links to split HCP directories

CLI interface

add_to_parser([parser]) Creates the parser of the command line arguments
run_from_args(args) Runs the script based on a Namespace containing the command line arguments