diff --git a/ms_lesion_segmentation/animaMSLongitudinalPreprocessing.py b/ms_lesion_segmentation/animaMSLongitudinalPreprocessing.py index 4ebc8ba..992d196 100644 --- a/ms_lesion_segmentation/animaMSLongitudinalPreprocessing.py +++ b/ms_lesion_segmentation/animaMSLongitudinalPreprocessing.py @@ -117,7 +117,7 @@ def call(command): if templateFlair: if os.path.exists(templateFlair): # Normalize intensities with the given template - call([animaNyulStandardization, "-m", flair, "-r", templateFlair, "-o", flair]) + call([animaNyulStandardization, "-m", brain, "-r", templateFlair, "-o", brain]) else: print('Template file ' + templateFlair + ' not found, skipping normalization.')