Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
erikogabrielsson committed Mar 18, 2024
1 parent 3e5fcc5 commit 8b329c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

- Fixed handling of string values longer than allowed by value representation.
- Corrected staining substances to be either a single string or a list of codes instead of a list of strings or codes.
- Added `allow_none` for json metadata fields where it was missing.
- Do not add empty `CodingSchemeVersion` to concept code name.
Expand Down
3 changes: 2 additions & 1 deletion wsidicom/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ def ignore_specimen_preparation_step_on_validation_error(self, value: bool) -> N
@property
def truncate_long_dicom_strings_on_validation_error(self) -> bool:
"""If long DICOM strings should be truncated. This is only used if
`pydicom.settings.writing_validation_mode` is set to `pydicom.config.RAISE`."""
`pydicom.settings.writing_validation_mode` is set to `pydicom.config.RAISE`. If
set to `True` long strings will be truncated if needed to pass validation."""
return self._truncate_long_dicom_strings

@truncate_long_dicom_strings_on_validation_error.setter
Expand Down

0 comments on commit 8b329c6

Please sign in to comment.