Module Import alias identifier Import alias Import alias ImportFrom alias ImportFrom alias Import alias Import alias alias ImportFrom alias FunctionDef arguments args NameParam NameParam defaults Str Str body Assign NameStore Num If UnaryOpNot NameLoad body Assign NameStore Str Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str body Assign NameStore Num Assign NameStore BinOpAdd Str NameLoad Return TupleLoad NameLoad NameLoad Call NameLoad keyword Dict Str Str Str NameLoad NameLoad Call NameLoad Str keyword ListLoad NameLoad Assign NameStore Str Assign NameStore Str If CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Str body Assign SubscriptStore NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Slice Num Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str If CompareEq Call NameLoad NameLoad Num body Assign NameStore BinOpAdd SubscriptLoad NameLoad Index Num Str Assign NameStore SubscriptLoad NameLoad Index Num orelse Assign NameStore SubscriptLoad NameLoad Index Num If UnaryOpNot NameLoad body Assign NameStore Num Assign NameStore BinOpAdd BinOpAdd BinOpAdd Str SubscriptLoad NameLoad Index Str Str NameLoad Return TupleLoad NameLoad NameLoad Call NameLoad keyword Dict Str Str Str NameLoad NameLoad Call NameLoad Str keyword ListLoad NameLoad Import alias alias Assign NameStore Call AttributeLoad NameLoad attr Str If BoolOpAnd CompareEq SubscriptLoad NameLoad Index Num Str CompareGt Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Index Num orelse Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str Call AttributeLoad NameLoad attr Str Str Call NameLoad Call AttributeLoad NameLoad attr Num Num keyword Num AugAssignAdd NameStore BinOpAdd Str NameLoad Assign NameStore BinOpAdd Str NameLoad Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad AugAssignAdd NameStore NameLoad Assign NameStore BinOpSub Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpAdd NameLoad Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore BinOpAdd BinOpAdd NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call NameLoad Str If CompareEq NameLoad Num body Assign NameStore BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad SubscriptLoad Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num attr Str Index Num If CompareLt NameLoad NameLoad body Assign NameStore Num Assign NameStore Call NameLoad keyword Dict Str Str Str Str NameLoad NameLoad NameLoad NameLoad keyword ListLoad NameLoad Return TupleLoad NameLoad NameLoad NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A sct_utils sct N/A commands N/A sct_propseg msct_parser Parser pandas DataFrame N/A os.path N/A time random copy deepcopy test N/A N/A path_data parameters N/A N/A N/A verbose 0 N/A N/A parameters N/A N/A parameters -i t2/t2.nii.gz -c t2 N/A dice_threshold 0.95 N/A parser N/A N/A sct_propseg get_parser N/A dict_param N/A N/A parser parse N/A N/A parameters split check_file_exist False N/A dict_param_with_path N/A N/A parser add_path_to_file N/A deepcopy dict_param path_data input_file True N/A param_with_path N/A N/A parser dictionary_to_string dict_param_with_path N/A N/A N/A N/A N/A os path isfile N/A dict_param_with_path N/A -i N/A N/A status 200 N/A output N/A ERROR: the file(s) provided to test function do not exist in folder:  path_data N/A N/A status output N/A DataFrame data N/A status output dice_segmentation status output N/A float nan index N/A path_data N/A contrast_folder N/A input_filename N/A N/A N/A N/A dict_param N/A -i N/A 0 / N/A N/A N/A dict_param N/A -i N/A N/A dict_param N/A -i N/A 1 N/A input_split N/A N/A N/A dict_param N/A -i split / N/A N/A N/A len input_split 2 N/A N/A contrast_folder N/A N/A input_split N/A 0 / N/A input_filename N/A input_split N/A 1 N/A N/A input_filename N/A input_split N/A 0 N/A N/A contrast_folder N/A N/A status 201 N/A output N/A N/A N/A ERROR: when extracting the contrast folder from input file in command line:  N/A dict_param N/A -i  for  path_data N/A N/A status output N/A DataFrame data N/A status output dice_segmentation status output N/A float nan index N/A path_data N/A time random N/A subject_folder N/A N/A path_data split / N/A N/A N/A N/A subject_folder N/A -1 N/A N/A len subject_folder 1 N/A N/A subject_folder N/A subject_folder N/A -2 N/A N/A subject_folder N/A subject_folder N/A -1 N/A path_output N/A N/A sct slash_at_the_end N/A N/A N/A N/A N/A sct_propseg_ subject_folder _ N/A N/A time strftime %y%m%d%H%M%S _ N/A str N/A N/A random randint 1 1000000 slash 1 N/A param_with_path N/A  -ofolder  path_output N/A cmd N/A sct_propseg  param_with_path N/A output N/A N/A 
====================================================================================================
 cmd 
====================================================================================================

 N/A time_start N/A N/A time time N/A N/A status o N/A N/A sct run cmd verbose N/A output o N/A duration N/A N/A N/A time time time_start N/A segmentation_filename N/A path_output N/A N/A sct add_suffix input_filename _seg N/A manual_segmentation_filename N/A N/A path_data contrast_folder N/A N/A sct add_suffix input_filename _seg_manual N/A dice_segmentation N/A float nan N/A N/A status 0 N/A N/A cmd N/A N/A N/A sct_dice_coefficient -i  segmentation_filename  -d  manual_segmentation_filename N/A N/A status output N/A N/A sct run cmd verbose N/A dice_segmentation N/A float N/A N/A N/A N/A N/A N/A output split 3D Dice coefficient =  N/A 1 split N/A 0 N/A N/A dice_segmentation dice_threshold N/A N/A status 99 N/A results N/A DataFrame data N/A status output dice_segmentation duration [s] status output dice_segmentation duration index N/A path_data N/A N/A status output results N/A N/A N/A __name__ __main__ N/A N/A N/A test