Commit 0da347fc authored by Andrei-Claudiu Roibu's avatar Andrei-Claudiu Roibu
Browse files

updating branches

parents 864342ba 58554941
......@@ -784,7 +784,7 @@ def _generate_target_volume(file_path,
volume (np.array): Array containing the information regarding the target volume
"""
volume = data_utils.load_and_preprocess_targets(file_path, crop_flag=False, cross_domain_x2x_flag)
volume = data_utils.load_and_preprocess_targets(file_path, cross_domain_x2x_flag, crop_flag=False)
if mean_regression_flag == True:
volume = _regress_target(volume, subject, dmri_mean_mask_path, rsfmri_mean_mask_path, regression_factors, crop_flag, cross_domain_x2x_flag, mean_regression_all_flag)
......
......@@ -194,7 +194,7 @@ def load_and_preprocess_evaluation(file_path, crop_flag, cross_domain_y2y_flag):
return volume, header, xform
def load_and_preprocess_targets(file_path, crop_flag, cross_domain_x2x_flag):
def load_and_preprocess_targets(file_path, cross_domain_x2x_flag, crop_flag):
"""Load & Preprocessing targets before evaluation
This function loads a nifty file and returns its volume information
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment