Skip to content

Updated three tools to use numpy 2.0#564

Open
nishaq503 wants to merge 1 commit into
NovagenResearch:masterfrom
nishaq503:updates/numpy2
Open

Updated three tools to use numpy 2.0#564
nishaq503 wants to merge 1 commit into
NovagenResearch:masterfrom
nishaq503:updates/numpy2

Conversation

@nishaq503

@nishaq503 nishaq503 commented Sep 18, 2024

Copy link
Copy Markdown
Contributor

This PR updates the following tools:

  • apply-flatfield
  • image-assembler
  • image-calculator

Since numpy changed how type promotion works for operations between arrays of different types, I have explicitly used type casts where it makes sense to do so.

A outstanding issue is that numpy is already up to version 2.1 which requires python 3.10 but all polus tools are still on python 3.9.

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.

1 participant