-
Notifications
You must be signed in to change notification settings - Fork 15
Restructure and Refactor Header Handling #96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restructure and Refactor Header Handling #96
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After a short review, this mostly looks good. Some remarks inline. The commit message might be rewritten, to not be a squash log, but rather summarize the changes done.
afb9f73
to
eff0146
Compare
STYLE: documentation and style fixes BUG: fix pixel and physical dimension population for writing - have metadata dictionary populate and save dimension values BUG: fix microsoft-specific errors and register scancoio for use in test for aim writing WIP: Have write convert back to Scanco units Merge changes from incorporate aimio: WIP: Move header reading/writing to completely depend on subclass ScancoHeaderIO WIP: Have ISQ write all metadata as read in WIP: Use AimIO method for reading ISQ This method defines header structures and reads header bytes directly into them for access - add test for reader update in conversion test WIP: Complete reading extended header from data struct - add documentation and style fixes WIP: have aim reader use struct header datatype WIP: switch reading to scancoheaderio class WIP: add class files for header reader and writers WIP: add class files and definitions for separating header reading and writing Merge changes from main: BUG: fix creation date output in header write STYLE: Move unrelated data manipulation functions out of main class STYLE: Add and update doxygen comments for functions STYLE: fix spacing for ITK style checks BUG: fix CI and compiler warnings and errors BUG: remove depreciated sprintf
eff0146
to
1308359
Compare
You seem to have forgotten to apply clang-format, otherwise LGTM. |
Ah, you realized that too and made quick force-push. Let's wait and see what the CI says. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After a quick review, this looks good to me!
This PR implements the functionality of the proposal in this issue.
Changes
API Differences
Future Changes
Incoming PRs will handle writing to AIM files, testing for AIM v030, and float type compatibility for writing