datreant / datreant.data

convenient data storage and retrieval in HDF5 for Treants
http://datreant.org/
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

acces data member via `__getattr__` #14

Open kain88-de opened 8 years ago

kain88-de commented 8 years ago

I want to access a data member with treant.data.x instead of treant.data['x']. That would add some convenience and is possible with the __getattr__ magic function.