Skip to content
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

Add long double format option to h5dump #5025

Merged
merged 6 commits into from
Oct 29, 2024

Conversation

byrnHDF
Copy link
Contributor

@byrnHDF byrnHDF commented Oct 28, 2024

In trying to fix tfloatattrs, discovered that the floating point format option did not apply to long double datatypes.
This adds the missing option.

@byrnHDF byrnHDF added Priority - 0. Blocker ⛔ This MUST be merged for the release to happen Component - Tools Command-line tools like h5dump, includes high-level tools Type - Bug / Bugfix Please report security issues to [email protected] instead of creating an issue on GitHub Type - Improvement Improvements that don't add a new feature or functionality Merge - To 2.0 labels Oct 28, 2024
@byrnHDF byrnHDF self-assigned this Oct 28, 2024
@derobins derobins changed the title Add long double fromat option to h5dump Add long double format option to h5dump Oct 29, 2024
@derobins
Copy link
Member

Needs a release note!

@derobins derobins merged commit 192d630 into HDFGroup:develop Oct 29, 2024
65 checks passed
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@byrnHDF Was this file updated correctly? It looks like the --lformat wasn't applied; the data still has varying numbers of digits after the decimal

@byrnHDF
Copy link
Contributor Author

byrnHDF commented Oct 29, 2024 via email

@jhendersonHDF
Copy link
Collaborator

Yes, but I used %.4Lg and not %.04Lg

%.4Lg is the correct specifier; it just looks like it wasn't applied

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - Tools Command-line tools like h5dump, includes high-level tools Priority - 0. Blocker ⛔ This MUST be merged for the release to happen Type - Bug / Bugfix Please report security issues to [email protected] instead of creating an issue on GitHub Type - Improvement Improvements that don't add a new feature or functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants