diff --git a/package/MDAnalysis/analysis/hydrogenbonds/wbridge_analysis.py b/package/MDAnalysis/analysis/hydrogenbonds/wbridge_analysis.py index e573eb3fd8..e6ee552113 100644 --- a/package/MDAnalysis/analysis/hydrogenbonds/wbridge_analysis.py +++ b/package/MDAnalysis/analysis/hydrogenbonds/wbridge_analysis.py @@ -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. @@ -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())