Skip to content

0.30.0

Choose a tag to compare

@erikogabrielsson erikogabrielsson released this 22 May 10:19
· 21 commits to main since this release
8b3ada7

Added

  • ImageCoordinateSystem.default_for() for creating a default image coordinate system for a given rotation and image type, placing the image at the matching corner of a standard slide. Optional slide-size parameters support non-standard (e.g. large-format) slides.

Changed

  • ImageType is now exported from wsidicom.metadata instead of wsidicom.instance.
  • WsiDataset.is_supported_wsi_dicom() now rejects a dataset up front when it is missing any attribute the library dereferences while opening an instance (identity, image/tile geometry, and pixel format). Previously such datasets passed the check and failed later with an AttributeError.

Removed

  • settings.strict_attribute_check. It defaulted to disabled and, when enabled, only enforced a handful of volume-image attributes; the required-attribute check is now always applied (see Changed).
  • WsiDicomRequirementError, which was only raised by the removed attribute-requirement machinery. WsiDicomStrictRequirementError is unchanged (still used by strict_uid_check).