./biology/py-pydicom, Pure python package for working with DICOM files

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.4.4, Package name: py311-pydicom-2.4.4, Maintainer: eborisch

Pydicom is a pure Python package for working with DICOM files such as medical
images, reports, and radiotherapy objects.

Pydicom makes it easy to read these complex files into natural pythonic
structures for easy manipulation. Modified datasets can be written again to
DICOM format files.


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 1969.36 KB

Version history: (Expand)


CVS history: (Expand)


   2024-01-14 19:29:06 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-pydicom: updated to 2.4.4

pydicom v2.4.4

Fix search in help docs
   2023-09-06 22:07:45 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-pydicom: updated to 2.4.3

Version 2.4.3

Fixes
-----

* Fixed pydicom codify error when relative path did not exist

Version 2.4.0

Changes
-------
* Removed support for Python 3.6 (EOL since December 2021)

Enhancements
------------
* Added attribute :attr:`~pydicom.valuerep.PersonName.alphabetic` (:pr:`1634`)
* Added attribute :attr:`~pydicom.tag.BaseTag.json_key` (:pr:`1648`)
* Added value validation for numerical VRs, add type validation for all
  validated VRs (:issue:`1414`)
* CLI commands now accept *pydicom* charset test files and CLI help shows
  Python Version (:pr:`1674`)
* Added support for Python 3.11 (:issue:`1658`)
* Added :class:`~pydicom.valuerep.ISfloat` to allow non-strict reading of
  existing files with float IS values (:issue:`1661`)
* Improved speed of creating and accessing highly nested structures
  (:issue:`1728`, :pr:`1734`)
* Switched to a pyproject.toml build process (:pr:`1792`)
* Updated DICOM and UID dicts to DICOM 2023b (:pr:`1803`)

Fixes
-----
* Fixed length validation of DS values with maximum length without a leading
  zero (:issue:`1632`)
* Increased download speed with progress bar for test data (:issue:`1611`)
* Fixed crash due to invalid private creator (:issue:`1638`)
* Fixed extremely long BytesLengthException error messages (:pr:`1683`)
* In codify, ensure unique variable names for DICOM keywords repeated
  in sequences, and handle unicode characters correctly (:issue:`1670`)
* Fixed handling of some invalid values in
  :meth:`~pydicom.dataset.Dataset.to_json_dict` if `suppress_invalid_tags` is
  set to `True` (:issue:`1693`)
* Fixed reading of data with 8 bits allocated, encoded in Big Endian transfer
  syntax using VR ``OW`` (:issue:`1680`)
* Fixed crash if reading regular dataset that has the SOP Class of a DICOMDIR
  (:issue:`1702`)
* Fixed wrong waveform data calculation when as_raw=False and baseline!=0 \ 
(:issue:`1667`)
* Fixed reading LUTData to expected size (:pr:`1747`)
* Fixed handling of AT VRs when codifying data elements (:issue:`1738`)

Pydicom Internals
-----------------
* In test suites, renamed 'setup' and 'teardown' methods, deprecated starting
  in pytest 7.2
* Use own fork of `CharPyLS` to handle builds with Python 3.11 (:issue:`1788`)
   2022-11-15 11:15:54 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-pydicom: updated to 2.3.1

pydicom 2.3.1
Small fix to make 2.3.X compatible with Python 3.11.
   2022-11-08 12:51:41 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-pydicom: updated to 2.3.0

Version 2.3.0
=================================

Changes
-------
* :meth:`DataElement.description<pydicom.dataelem.DataElement.description>` is
  deprecated and will be removed in v3.0, use
  :attr:`DataElement.name<pydicom.dataelem.DataElement.name>` instead
* Updated the private dictionary
* :attr:`~pydicom.config.enforce_valid_values` is deprecated in favor of
  :attr:`~pydicom.config.settings.reading_validation_mode`
* Added `download` parameter to :func:`~pydicom.data.get_testdata_file`
  to allow skipping downloading the file if missed locally (:pr:`1617`)

Enhancements
------------
* Values are now validated for valid length, allowed character set and format
  on reading and writing. Depending on the value of
  :attr:`~pydicom.config.settings.reading_validation_mode`
  and :attr:`~pydicom.config.settings.writing_validation_mode`
  a warning is logged, an exception is raised, or the validation is skipped.
* Added :class:`~pydicom.valuerep.VR` enum (:pr:`1500`)
* UIDs for all Storage SOP Classes have been added to the ``uid`` module
  (:issue:`1498`)
* Use rle_handler as last resort handler for decoding RLE encoded data as it is
  the slowest handler (:issue:`1487`)
* Added, enhanced, or removed a number of Mitra private dictionary entries \ 
(:pr:`1588`)
* Added support for unpacking bit-packed data without using NumPy to
  :func:`~pydicom.pixel_data_handlers.utils.unpack_bits`(:pr:`1594`)
* Added :func:`~pydicom.pixel_data_handlers.util.expand_ybr422` for expanding
  uncompressed ``YBR_FULL_422`` data to ``YBR_FULL`` (:pr:`1593`)
* Replacement of ``UN`` VR with ``SQ`` VR for undefined length data elements
  (introduced in 2.2.2), can now be configured via
  :attr:`~pydicom.config.settings.infer_sq_for_un_vr`
* Updated dictionaries to DICOM 2022a

Fixes
-----
* Fixed odd-length **OB** values not being padded during write (:issue:`1511`)
* Fixed Hologic private dictionary entry (0019xx43)
* Fixed Mitra global patient ID private dictionary entry (:pr:`1588`)
* Fixed :meth:`~pydicom.dataset.Dataset.compress` not setting the correct
  encoding for the rest of the dataset (:issue:`1565`)
* Fixed `AttributeError` on deep copy of :class:`~pydicom.dataset.FileDataset`
  (:issue:`1571`)
* Fixed an exception during pixel decoding if using GDCM < 2.8.8 on Windows
  (:issue:`1581`)
* Fixed crashes on Windows and MacOS when using the GDCM plugin to compress
  into *RLE Lossless* (:issue:`1581`)
* Fixed ``dir(Dataset())`` not returning class attributes (:issue:`1599`)
* Fixed bad DICOMDIR offsets when using :meth:`FileSet.write()
  <pydicom.fileset.FileSet.write>` with a *Directory Record Sequence* using
  undefined length items (:issue:`1596`)
* Assigning a list of length one as tag value is now correctly handled as
  assigning the single value (:issue:`1606`)
* Fixed an exception with multiple deferred reads with file-like objects
  (:issue:`1609`)
   2022-01-05 16:41:32 by Thomas Klausner | Files touched by this commit (289)
Log message:
python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 12:03:45 by Nia Alarie | Files touched by this commit (73)
Log message:
biology: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 15:19:44 by Nia Alarie | Files touched by this commit (73)
Log message:
biology: Remove SHA1 hashes for distfiles