OpenTreeOfLife / peyotl

python library for interacting with Open Tree of Life resources
BSD 2-Clause "Simplified" License
11 stars 7 forks source link

Script to collect list of tree / study properties #139

Closed kcranston closed 8 years ago

kcranston commented 8 years ago

For the new oti, want to be able to search by any tree or study property. Would like to find these from the nexsons, rather than hard-code the list. Code should probably live in peyotl/nexson_syntax/__init__.py. Of course, not sure about keeping this up to date (noting that this happens with the current system, too, so writing such a script does not create a new problem).

jar398 commented 8 years ago

~~looks to me like this is related to #137 ... if all properties were available from the NexsonProxy the script would be trivial. Rather than worry about keeping lists of property names up to date, the script could simply be driven off of all unstructured properties.~~

jar398 commented 8 years ago

This is not related to # 137.

kcranston commented 8 years ago

Going to put this in the newoti code, since it is only relevant to search / indexing.

kcranston commented 8 years ago

Script is here