diffpy / diffpy.srmise

Other
0 stars 7 forks source link

Indexslicing error for numpy object #69

Open stevenhua0320 opened 2 months ago

stevenhua0320 commented 2 months ago

During testing polynomial script, an error occured, cut_idx = y.argsort()[:cut] ~~~~~~~~~~~^^^^^^ TypeError: slice indices must be integers or None or have an __index__ method