Skip to content

Fix func type 0 #97

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

Merged
merged 2 commits into from
Dec 12, 2024
Merged

Fix func type 0 #97

merged 2 commits into from
Dec 12, 2024

Conversation

Nuopel
Copy link

@Nuopel Nuopel commented Dec 10, 2024

This PR resolves #96. It allows func_type=0 in _write58 to enable general data storage as per the UFF specification. Added a test case to validate this change.

Samuel added 2 commits December 10, 2024 14:43
Include '0' as a valid function type in the dataset_58 writer.Function Type:   0 - General or Unknown
This new test validates the correct behavior of `_write58` when `func_type=0` (general or unknown data) is used. It includes dataset preparation, writing to a UFF file, reading back, and verifying both metadata and data consistency.
@jankoslavic
Copy link
Contributor

@Nuopel all looks fine. Thank you for the PR!

@jankoslavic jankoslavic merged commit 14b5a3a into ladisk:main Dec 12, 2024
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.

Allow func_type=0 for UFF Data-Set 58 to Enable General Data Storage
2 participants