docs: def _fix_sitk_bug(path, metadata):
          """There is a bug in simple ITK for Z axis in 3D images. This is a fix.
  
          :param path: path to dicom file to read
          :param metadata: metadata to correct
          :return: corrected metadata
          """
          ds = dicom.read_file(path)
          try:
              metadata["voxelsize_mm"][0] = ds.SpacingBetweenSlices
          except Exception as e:
              logger.warning("Read dicom 'SpacingBetweenSlices' failed: ", e)
          return metadata