Perplexing assignment behavior with h5py object as instance variable

后端 未结 2 1417
鱼传尺愫
鱼传尺愫 2021-01-14 03:30

I\'m using h5py to access HDF5 files and store the h5py File objects in a class. But I\'m experiencing some strange behavior in attempting to reassign a closed h5py file ins

2条回答
  •  盖世英雄少女心
    2021-01-14 03:50

    Yes, this is a known bug in h5py 1.3, which shows up when you use HDF5 1.8.5 or newer. It's related to changes in the way identifiers are handled in 1.8.5. You can fix it by using HDF5 1.8.4 or earlier, or by upgrading to h5py 2.0.

提交回复
热议问题