Project

General

Profile

Actions

Bug #4839

closed

cdf scaling in myamiweb viewer gives error on some installation.

Added by Anchi Cheng over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
03/16/2017
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 3.2
Show in known bugs:
No
Workaround:

Description

File "..../redux/pipes/scale.py", line 89 in scale_cdf
  omin = vals[minp]
IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`)  and integer or boolean arrays are valid indices
Actions #1

Updated by Anchi Cheng over 7 years ago

  • Status changed from Assigned to Closed

Appears to happen when using numpy 1.12.0 but not 1.10.1

Fixed by forcing to integer

Actions

Also available in: Atom PDF