-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
E57SimpleWriter API setup & writing cleanup? #163
Comments
Collapse some steps into one call to hide complexity, avoid potential errors, and simply the use of the API. Fixes #163
Collapse some steps into one call to hide complexity, avoid potential errors, and simplify the use of the API. Fixes #163
Collapse some steps into one call to hide complexity, avoid potential errors, and simplify the use of the API. Fixes #163
Collapse some steps into one call to hide complexity, avoid potential errors, and simplify the use of the API. Fixes #163
I suspect there was a reason the API was the way it was.
So my conundrum now is whether to comment-out the deprecation so we can at least come forward to version 3. |
Right now to write data we need to do the following:
This does not seem as simple as it should be for a simple API. It's easy to miss a step and it's not always clear what's wrong. For example if you forget to
dataWriter.close()
, it doesn't fail but it also doesn't write the data.Why not collapse it into:
(The same can be done for Image2D - collapse
NewImage2D
intoWriteImage2DData
.)Then:
Does anyone have any idea why it's split up the way it is?
The text was updated successfully, but these errors were encountered: