Skip to content

Commit

Permalink
Merge pull request #9 from niaid/improve_info_message_spacing
Browse files Browse the repository at this point in the history
Add missing spacing to info messages
  • Loading branch information
blowekamp authored May 7, 2021
2 parents cdcc02c + 7c78b9f commit e3e9c99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pytools/ng/mrc2nifti.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,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."
)

Expand Down Expand Up @@ -159,7 +159,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)
Expand Down

0 comments on commit e3e9c99

Please sign in to comment.