Skip to content

Commit

Permalink
Merge pull request #193 from weisscharlesj/fix_float
Browse files Browse the repository at this point in the history
Changed 'np.float' to 'float' in peakpick.py line 329
  • Loading branch information
kaustubhmote authored Jun 8, 2023
2 parents a349423 + f6a7be9 commit a838836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nmrglue/analysis/peakpick.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def pack_table(locations, cluster_ids=None, scales=None, amps=None,
ndim = len(locations[0])
anames = axis_names[-ndim:]

dt = [(a + "_AXIS", np.float) for a in anames]
dt = [(a + "_AXIS", float) for a in anames]
rec = np.rec.array(locations, dtype=dt)

if cluster_ids is not None:
Expand Down

0 comments on commit a838836

Please sign in to comment.