biolab / orange-bio

Other
9 stars 32 forks source link

[FIX] Fix errors using numpy 1.13 #106

Closed ales-erjavec closed 7 years ago

ales-erjavec commented 7 years ago
------------------- TypeError Exception (in non-GUI thread) -------------------
Traceback (most recent call last):
  File "/Users/aleserjavec/workspace/orange-bio/orangecontrib/bio/widgets3/OWMAPlot.py", line 121, in wrapped
    return func(*args, **kwargs)
  File "/Users/aleserjavec/workspace/orange-bio/orangecontrib/bio/widgets3/OWMAPlot.py", line 394, in run
    progressCallback=lambda val: progressCallback(50 + val / 2))
  File "/Users/aleserjavec/workspace/orange-bio/orangecontrib/bio/utils/expression.py", line 872, in MA_zscore
    z_scores._mask = - numpy.isfinite(z_scores)
TypeError: The numpy boolean negative, the `-` operator, is not supported, use the `~` operator or the logical_not function instead.