8000 Incompatible with H5py 2.1.0 · Issue #421 · CellProfiler/CellProfiler · GitHub 8000
[go: up one dir, main page]

Skip to content
Incompatible with H5py 2.1.0 #421
@BioTurboNick

Description

@BioTurboNick

When I attempt to run a pipeline with the H5py 2.1.0 library installed, I get the following error:

Traceback (most recent call last):
  File "D:\CellProfiler\Program\cellprofiler\gui\pipelinecontroller.py", line 776, in on_analyze_images
    self.__pipeline_measurements = self.__running_pipeline.next()
  File "D:\CellProfiler\Program\cellprofiler\pipeline.py", line 1213, in run_with_yield
    if not self.prepare_run(workspace):
  File "D:\CellProfiler\Program\cellprofiler\pipeline.py", line 1488, in prepare_run
    self.write_pipeline_measurement(m)
  File "D:\CellProfiler\Program\cellprofiler\pipeline.py", line 921, in write_pipeline_measurement
    can_overwrite = True)
  File "D:\CellProfiler\Program\cellprofiler\measurements.py", line 469, in add_measurement
    self.hdf5_dict[EXPERIMENT, feature_name, 0] = wrap_string(data)
  File "D:\CellProfiler\Program\cellprofiler\utilities\hdf5_dict.py", line 337, in __setitem__
    dataset[dest] = val
  File "D:\CellProfiler\Program\cellprofiler\utilities\hdf5_dict.py", line 49, in new_setitem
    return orig_hdf5_setitem(self, args, val)
  File "C:\Python27\lib\site-packages\h5py\_hl\dataset.py", line 423, in __setitem__
    val2[...] = val
ValueError: low level cast function is for unequal type numbers

Reverting to H5py 2.0.1 fixes the issue. However, the site the Wiki links to for Windows installers of the H5py package (http://www.lfd.uci.edu/~gohlke/pythonlibs/) no longer provides H5py 2.0.1, and the H5py code site (http://code.google.com/p/h5py/downloads/list) only has 32-bit packages available.

I do have the 64-bit H5py 2.0.1 installer saved, so if anyone needs it in the meantime, I'd be happy to provide it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0