track_order not working on root group
See original GitHub issueThis is a duplicate of https://github.com/h5py/h5py/issues/1097, it was closed but I still experience this issue.
import tempfile
import h5py
print(h5py.version.info)
ft = tempfile.mktemp(suffix='.hdf5')
h5py.get_config().track_order = True
h5 = h5py.File(ft, mode='w', track_order=True)
h5.create_group('z')
h5.create_group('a')
print("File just created", h5.keys())
h5.close()
h5 = h5py.File(ft, mode='r', track_order=True)
print("After reopening", h5.keys())
Output:
Summary of the h5py configuration
---------------------------------
h5py 2.10.0
HDF5 1.10.5
Python 3.7.0 | packaged by conda-forge | (default, Nov 12 2018, 20:15:55)
[GCC 7.3.0]
sys.platform linux
sys.maxsize 9223372036854775807
numpy 1.17.5
File just created <KeysViewHDF5 ['z', 'a']>
After reopening <KeysViewHDF5 ['a', 'z']>
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (10 by maintainers)
Top Results From Across the Web
Route: Track Everything In One Place
Track Everything You Order in the Route App. Get shipping notifications and real-time status updates on any delivery.
Read more >Delivery Information
Delivery Information. To accommodate the best possible customer experience, we offer 3 different service levels for shipping.
Read more >Route: Package Tracker on the App Store - Apple
Route is the premier package tracker for all of your online orders. Join over 50 Million people who have tracked their orders with...
Read more >Order Look Up
Order Status. To view the order, please enter the order number and the Last Name or the Phone Number associated with the order....
Read more >View Your Online Order At GNC
The tracking information is accessible from Your Order History on our website when it becomes available. *Tracking information may not be available for...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Please, try to write h5[“/”].keys() instead of h5.keys(). The former works as expected for me but not the latter.
@vasole I come a bit late to this conversation but I confirm that for me
h5["/"].keys()
keeps the order buth5.keys()
does not.