CellProfiler icon indicating copy to clipboard operation
CellProfiler copied to clipboard

Numpy array Import error

Open capret opened this issue 2 years ago • 0 comments

Describe the bug There have an error shows up when import *.npy as a Binary mask. Terminal popup "ValueError: Object arrays cannot be loaded when allow_pickle=False"

To Reproduce Steps to reproduce the behavior:

  1. Go to 'NamesAndTypes' , import npy fileset as "Binary mask"
  2. Click on 'Analyze image'
  3. See error

Expected behavior It should be okay when numpy<=1.16.1, but seems is not in this project

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [Windows 11]
  • CellProfiler Version [4.2.5]
  • Downloaded from the website or installed from source? --Website
  • If the latter, how (cloned, installed from pypi, etc)?

Additional context None

capret avatar Jul 10 '23 07:07 capret