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

MAINT: NumPy recarray shim #4275

Merged
merged 1 commit into from
Sep 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package/MDAnalysis/analysis/hydrogenbonds/wbridge_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -1771,7 +1771,7 @@ def generate_table(self, output_format=None):

Returns
-------
table : numpy.recarray
table : numpy.rec.recarray
A "tidy" table with one hydrogen bond per row, labeled according to
`output_format` and containing information of atom_1, atom_2,
distance, and angle.
Expand Down Expand Up @@ -1832,7 +1832,7 @@ def generate_table(self, output_format=None):
cursor += 1
assert cursor == num_records, \
"Internal Error: Not all wb records stored"
table = out.view(np.recarray)
table = out.view(np.rec.recarray)
logger.debug(
"WBridge: Stored results as table with %(num_records)d entries.",
vars())
Expand Down
Loading