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

Add simple query for data elements in a Treant. #7

Open dotsdl opened 8 years ago

dotsdl commented 8 years ago

Although the keys for all data elements currently display by default using, e.g. Treant.data, it would be useful to be able to get a listing of data keys that match a query. This could be as simple as making some kind of Data.isin method that takes a string as input and outputs all keys that have that string present.

Originally placed in datreant/datreant.core#1

dotsdl commented 8 years ago

Perhaps use a name like globfilter to give a similar API to other elements in datreant.