-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(lossless-round-trip): Implement lossless read writes (#400)
* Extract formatting logic from initial value read from data view * Leave empty string in base numeric string read, update tests with new function name. * Save original rawValue of data element as private property returned from readTag, manually apply formatting on returned Value property * Refactor to calculate raw and value inside value representation * Implement equality between original and formatted value on write, add deep equals implementation and tests * Add POC lossless-round-trip test with sample file from data repo * Add specific DS tests and first round of general VR tests * Cover all VRs with retain test * Fix exponential notation unit test expect * Update ParsedUnknownValue read logic and add different VR test coverage * Add remaining VRs for UN parsing * Formatting and cleanup * Verify changed value is respected on write * Add flag opt in/out of raw storage for things like pixel data or sequences * Add sequence tests * Fix comments and formatting before review --------- Co-authored-by: Craig Berry <[email protected]>
- Loading branch information
1 parent
117e3be
commit faa0f86
Showing
6 changed files
with
1,160 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.