-
Notifications
You must be signed in to change notification settings - Fork 0
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
bugfix/missing-comma-was-creating-a-new-file-format #11
base: main
Are you sure you want to change the base?
bugfix/missing-comma-was-creating-a-new-file-format #11
Conversation
I am also mirroring the change made here: AllenCellModeling/aicsimageio#543 In which imageio was bumped to a higher version to handle various ffmpeg differences |
I wonder if we can get the tests back to green |
Was trying to before I got blocked on time :/ will return to this in ~2 weeks. |
Any way I can help this get through? I'm lazy and weary of using other libraries just for png's. |
("example.png", "Image:0", (800, 537, 4), "YXS"), | ||
("example.jpg", "Image:0", (452, 400, 3), "YXS"), | ||
("example.gif", "Image:0", (72, 268, 268, 4), "TYXS"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why'd we lose a scene here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
S is not scene, it's "Samples", as in 3 means RGB and 4 means RGBA
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh gotcha my mistake. I think my question persists though. What happened to our 4th sample?
("example.png", "Image:0", (800, 537, 4), "YXS"), | ||
("example.jpg", "Image:0", (452, 400, 3), "YXS"), | ||
("example.gif", "Image:0", (72, 268, 268, 4), "TYXS"), | ||
("example.gif", "Image:0", (72, 268, 268, 3), "TYXS"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@evamaxfield @toloudis any thoughts here? np.stack expects same-size arrays, not sure why the first one is missing a dim.
I reran the tests and we seem to be having an issue with the first frame of image data here . |
I tried to run tests locally from instructions in contributing.md (
Individually running |
We are working on this right now with our infrastructure team. They are not currently public, though if you open a branch you can run tests from there with the approval of a "Trusted Developer". Hopefully in the next few weeks, these files will all be public... |
Description of Changes
Found while working on napari stuff which tests for
png
support. If you try to read a PNG directly with this package'sReader
, it works! If you try to read a PNG withBioImage
, it fails because it doesn't have a plugin listing for"png"
but does have one for"pngppm"
because if there isn't a comma, Python will combine strings together 🙃🙃🙃.