-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
How to write enum data type into a dataset? #276
Comments
That's not possible right now but I ran into a similar issue and circumvented the issue by going to the underlying P/Invoke library. I've included one of the enumerations I'm using to write the data type to HDF5.
Call it with:
|
@flappah can't we wrap your implementation at my library so the user will have simplified Api to work with? |
Sure! I think we need to generalize my approach a bit but yeah. We could definitely add it to your library! |
Do you want me to generalize the code or do you want to do it yourself? I'm quite short in time this week since I've got a deadline coming up at the end of the week and next week I'm a week off but I could take a look at it in say a week or two. |
@flappah no pressure. If you would like to take a shoot on it it would be great. if not also ok :) |
Good morning @LiorBanai. I still haven't gotten around adding my approach. It's been quite busy lately. But I'm planning on doing this as soon as I can get my hands free. Hope this'll be somewhere at the end of September now. |
Take your time. We are all busy those days 🙂 Thanks for the update. |
I am trying to write a enum type into the dataset but is unable to. It always converts it to an int type. May I know how to insert into the dataset as an enum type?
example:

what i got instead:

what i have tried:
The text was updated successfully, but these errors were encountered: