linnarsson-lab / loompy

Python implementation of the Loom file format - http://loompy.org
BSD 2-Clause "Simplified" License
139 stars 37 forks source link

h5py 3 requires file mode #169

Open rekado opened 2 years ago

rekado commented 2 years ago

With h5py 3 one of the loompy tests fails, because h5py.File is not given the file mode a and thus won't create the file.

In tests/test_file_attribute_manager.py#L18 h5py.File(f.name, 'a') should be used to avoid the test failure.