From 7c78b9f162c68dd7eaac1653af4f025cb3bf948c Mon Sep 17 00:00:00 2001 From: Bradley Lowekamp Date: Fri, 7 May 2021 10:23:09 -0400 Subject: [PATCH] Add missing spacing to info messages --- pytools/ng/mrc2nifti.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pytools/ng/mrc2nifti.py b/pytools/ng/mrc2nifti.py index e9de41b..afdab54 100755 --- a/pytools/ng/mrc2nifti.py +++ b/pytools/ng/mrc2nifti.py @@ -110,7 +110,7 @@ def _img_convert_type(img: sitk.Image, output_type) -> sitk.Image: return sitk.Cast(img, output_type) else: raise Exception( - f"Converting from {img.GetPixelIDTypeAsString()} to" + f"Converting from {img.GetPixelIDTypeAsString()} to " f"{sitk.GetPixelIDValueAsString(output_type)} is not implemented." ) @@ -153,7 +153,7 @@ def main(input_image, output_image): if img.GetPixelID() in output_pixel_id_map: output_pixel_id = output_pixel_id_map[img.GetPixelID()] logger.info( - f"Converting image from {img.GetPixelIDTypeAsString()} to" + f"Converting image from {img.GetPixelIDTypeAsString()} to " f"{sitk.GetPixelIDValueAsString(output_pixel_id)}." ) img = _img_convert_type(img, output_pixel_id)