Skip to content
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

Refactor to take out problematic dependencies #8

Merged
merged 7 commits into from
Dec 20, 2022
Merged

Conversation

elainehoml
Copy link
Collaborator

Context

Currently, the input for frc calculation is the image filepath rather than the array containing image data, which makes Quoll harder to implement as a Napari plugin. Also, the filepath reading from Miplib uses pims which can complicate installation due to Java dependencies.

Changes

Quoll now creates miplib Image objects directly from the image data, which is extracted from a Quoll Image object. The Quoll Image object only accepts .tiffs and .mrcs at the moment, rather than the wide range accepted from BioFormats through pims, though the installation of dependencies is easier. This change also makes Quoll more easily compatible with Napari plugin implementations.

Still need to have a look at the pyproject.toml and see how we can install a more minimal version of miplib that does not require the many + large dependencies we do not use and/or have trouble with: these include jpype1, pims, SimpleITK, psf, ...

@lgtm-com
Copy link

lgtm-com bot commented Dec 1, 2022

This pull request fixes 1 alert when merging 2d951e7 into dbd442a - view on LGTM.com

fixed alerts:

  • 1 for Unused import

Heads-up: LGTM.com's PR analysis will be disabled on the 5th of December, and LGTM.com will be shut down ⏻ completely on the 16th of December 2022. Please enable GitHub code scanning, which uses the same CodeQL engine ⚙️ that powers LGTM.com. For more information, please check out our post on the GitHub blog.

@lgtm-com
Copy link

lgtm-com bot commented Dec 1, 2022

This pull request fixes 1 alert when merging 4d2a259 into dbd442a - view on LGTM.com

fixed alerts:

  • 1 for Unused import

Heads-up: LGTM.com's PR analysis will be disabled on the 5th of December, and LGTM.com will be shut down ⏻ completely on the 16th of December 2022. Please enable GitHub code scanning, which uses the same CodeQL engine ⚙️ that powers LGTM.com. For more information, please check out our post on the GitHub blog.

@elainehoml elainehoml marked this pull request as ready for review December 20, 2022 16:46
@elainehoml elainehoml merged commit c81e80c into main Dec 20, 2022
@elainehoml elainehoml deleted the miplib_refactor branch December 20, 2022 16:46
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.

None yet

1 participant