Skip to content

Update core.py and hdf5io.py to be compatible with latest version of numpy#57

Open
divyajyoti09 wants to merge 4 commits intouchicago-cs:masterfrom
divyajyoti09:master
Open

Update core.py and hdf5io.py to be compatible with latest version of numpy#57
divyajyoti09 wants to merge 4 commits intouchicago-cs:masterfrom
divyajyoti09:master

Conversation

@divyajyoti09
Copy link

The changes address the following errors:

AttributeError: module 'numpy' has no attribute 'ComplexWarning'
AttributeError: `np.string_` was removed in the NumPy 2.0 release. Use `np.bytes_` instead.
AttributeError: `np.unicode_` was removed in the NumPy 2.0 release. Use `np.str_` instead.

divyajyoti09 and others added 4 commits November 24, 2024 17:24
numpy has deprecated ComplexWarning hence fixing it to `numpy.exceptions.ComplexWarning`
```
AttributeError: `np.unicode_` was removed in the NumPy 2.0 release. Use `np.str_` instead.
```
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