Command-line interface (CLI) module¶
This module defines the mialsuperresolutiontoolkit-bidsapp script that wraps calls to the BIDS APP.
-
pymialsrtk.cli.mialsuperresolutiontoolkit_bidsapp.
create_docker_cmd
(args)[source]¶ Function that creates and returns the BIDS App docker run command.
Parameters: args (dict) – Dictionary of parsed input argument in the form:
{ 'bids_dir': "/path/to/bids/dataset/directory", 'output_dir': "/path/to/output/directory", 'param_file': "/path/to/configuration/parameter/file", 'analysis_level': "participant", 'participant_label': ['01', '02', '03'], 'openmp_nb_of_cores': 1, 'nipype_nb_of_cores': 1, 'manual': True }
Returns: cmd – String containing the command to be run via subprocess.run()
Return type: string