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

h5hist: write overflow as boolean but still support string #96

Merged
merged 5 commits into from
Dec 20, 2023

Conversation

tamasgal
Copy link
Collaborator

@tamasgal tamasgal commented Dec 19, 2023

I totally overlooked that overflow is stored as string, although the type os Bool which is perfectly fine in attributes.

I think we should clean that up but it's a bit embarrassing that we already need v1.1 for the format spec 🙈 On the other hand, that's what is meant for...

This PR still supports strings as overflow but now writes Bool, which cannot be read with FHist.jl v0.10.6 without a warning (technically it's probably more likely a v2.0, but let's not exaggerate it?)

I am also not 100% happy with the version checking yet, I guess I need a tea first, it was a very short night ;)

@tamasgal tamasgal marked this pull request as ready for review December 19, 2023 06:24
@tamasgal tamasgal mentioned this pull request Dec 19, 2023
8 tasks
Copy link

codecov bot commented Dec 19, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (6120223) 83.60% compared to head (06a5760) 83.60%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #96   +/-   ##
=======================================
  Coverage   83.60%   83.60%           
=======================================
  Files          10       10           
  Lines         787      787           
=======================================
  Hits          658      658           
  Misses        129      129           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Moelf
Copy link
Owner

Moelf commented Dec 19, 2023

I think nobody is using it you can just override it for now

@tamasgal
Copy link
Collaborator Author

OK done ;)

ext/FHistHDF5Ext.jl Outdated Show resolved Hide resolved
@tamasgal tamasgal merged commit 70630a0 into main Dec 20, 2023
7 checks passed
@tamasgal tamasgal deleted the h5ist-overflow-boolean branch December 20, 2023 13:12
@Moelf
Copy link
Owner

Moelf commented Dec 20, 2023

you wanna do a release on this?

@tamasgal
Copy link
Collaborator Author

Initially I thought this will simply go into 0.11 but I guess that will take a few more days. I'll do a quick release now...

@Moelf
Copy link
Owner

Moelf commented Dec 20, 2023

since this doesn't depend on v0.11 it doesn't matter, which is a good thing, we want more features into 0.10 :)

@tamasgal
Copy link
Collaborator Author

agreed ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants