NCAS-CMS / pyfive

A pure Python HDF5 file reader
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

pyfive.File(filename,'r') should not barf #2

Closed bnlawrence closed 4 months ago

bnlawrence commented 7 months ago
raceback (most recent call last):
  File "/Users/bnl28/Repositories/pyfive/bnl/opening_speed.py", line 13, in <module>
    f2 = pyfive.File(p,'r')
TypeError: File.__init__() takes 2 positional arguments but 3 were given

is not cool, if we want a drop in replacement for h5py, we shouldn't be barfing, we should be politely and verbosely ignoring.

bnlawrence commented 4 months ago

This is fixed in the h5netcdf branch.