Skip to content

Update to be compatible with numpy 2.1#85

Merged
veghp merged 2 commits intoEdinburgh-Genome-Foundry:devfrom
godotgildor:feature/support_numpy_2_1
Aug 29, 2024
Merged

Update to be compatible with numpy 2.1#85
veghp merged 2 commits intoEdinburgh-Genome-Foundry:devfrom
godotgildor:feature/support_numpy_2_1

Conversation

@godotgildor
Copy link
Copy Markdown
Contributor

@godotgildor godotgildor commented Aug 26, 2024

With numpy >= 2.1, there is an error triggered in EnforceGCContent, indicating that calling "nonzero on 0d arrays" is not permitted.

This PR updates the code to be compatible with numpy >= 2.1 (and still works for older versions).

Related to this issue:
#83

Similar in spirit to #84 (didn't see that PR when I originally issued this one.)

@veghp veghp changed the base branch from master to dev August 29, 2024 10:29
@veghp veghp merged commit f200677 into Edinburgh-Genome-Foundry:dev Aug 29, 2024
@veghp
Copy link
Copy Markdown
Member

veghp commented Aug 29, 2024

Thank you! I'll have to make a few more tests and address some other issues, then I can make a release.

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.

2 participants