Skip to content

Conversation

@gnodar01
Copy link
Member

@gnodar01 gnodar01 commented Nov 30, 2022

ctrueden and others added 29 commits October 4, 2022 14:32
One step toward eliminating the bioformats subpackage.
The python-bioformats read function code has been migrated here now,
and updated to use scyjava instead of javabridge. Most code is the same!
These are jpype JArrays now and can be iterated directly
Add a shutdown hook to close the reader, and don't try to close it if
it's already closed.
This adds logback-classic and a logback.xml configuration file which
sets logging to INFO level, ensuring an slf4j implementation is present
and not defaulting to DEBUG level spam.
This is used and was undeclared, previously coming in transitively
through python-bioformats.
TODO: are these all accurate?
writer now works on writing single channel images, but wip on multi-channel
add log level and origin to log messages
@gnodar01 gnodar01 marked this pull request as ready for review December 8, 2022 00:23
@gnodar01 gnodar01 requested a review from bethac07 December 8, 2022 00:23
openBytes_func = self._reader.openBytes
width, height = self._reader.getSizeX(), self._reader.getSizeY()

# FIXME instead of np.frombuffer use scyjava.to_python, ideally that wraps memory
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like we now have a mix of the two, is this note intended to resolve the later ones (and if so, is there a reason not to just do it now, or is the one place where it's now used meant to be the only place and thus can it be resolved?

Copy link
Member

@bethac07 bethac07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've left a couple small notes here for things I noticed where we may want to clean some stuff or leave better notes for future us, but otherwise, 😍 😍 😍 😍 . Great work everyone!

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.

5 participants