-
Notifications
You must be signed in to change notification settings - Fork 25
Scyjava Refactor #133
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
Scyjava Refactor #133
Conversation
Does not work yet.
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
| 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 |
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.
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?
bethac07
left a comment
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.
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!
fix jamboree issue, where Metadata module options disapper upon loading cppipe that made reference to a nonexistent input folder
* split out note by regex rather than pipes * Add back support for older pipelines
* Remove deprecated numpy aliases * Recompile centrosome
Companion to CellProfiler/CellProfiler#4681