higlass / clodius

Clodius is a tool for breaking up large data sets into smaller tiles that can subsequently be displayed using an appropriate viewer.
MIT License
39 stars 21 forks source link

fix: use builtin warnings instead of np.warnings #147

Closed manzt closed 1 year ago

manzt commented 1 year ago

Description

What was changed in this pull request?

Replaces the use of np.warnings with Python's builtin warnings module. It seems like the formers was a alias for the latter in older versions of Python and is no longer, breaking clodius in numpy v1.24.

Why is it necessary?

Allows latest numpy to be compatible with clodius.

Fixes #___

Checklist