-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NexsonProxy provides no way to get study-level properties #137
Comments
What are you trying to do? I don't use NexsonProxy to get study-level properties. I'd do something like this:
|
NexsonProxy does a lot of other things that seem very nice that aren't provided by the raw nexson blob (get_nexml_el), such as structured access to OTUs, trees, edges, and nodes. "Provides high level wrappers around a Nexson data model blob to If it is useful, then as a matter of design it ought to provide at least as much service as the low-level form, since otherwise people will end up using a mix of the two, which would be confusing. If it is not useful, it should be deleted. I am trying to rewrite parts of the conflict code (which is in jython and uses Java libraries) so that it looks more like peyotl. (I can't use peyotl directly since it doesn't run in jython.) |
@jar398, you can get study-level properties like so:
Would you like a less "private" getter, like |
Yes, less private, please, and maybe more abstract (not just exposing the raw json). |
such as ^ot:focalClade.
or am I missing something?
The text was updated successfully, but these errors were encountered: