Skip to content
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

Control default depth of categorical tree specification, and "more choices" option #6

Open
Public-Health-Bioinformatics opened this issue Nov 1, 2017 · 2 comments

Comments

@Public-Health-Bioinformatics
Copy link
Contributor

Public-Health-Bioinformatics commented Nov 1, 2017

Right now when one selects a categorical tree input for a form element, the whole hierarchy is shown from the ontology. It would be good to add depth controls to selectively show depth of a tree, say down 3 or four levels, and allow a "more choices" option to carry the user deeper in the hierarchy. The more choices option can either consult the remainder of the tree stored locally, or do a real-time fetch of subsequent depth of choices from live ontology lookup sources.

As well, ideally disable "more choices" if there aren't any for a given item. Requires marking (on a cached basis) which items have no subordinates.

@Public-Health-Bioinformatics
Copy link
Contributor Author

This is implemented now with a depth:X parameter which cuts the displayed branch to that depth.

@Public-Health-Bioinformatics
Copy link
Contributor Author

Note: above feature, and following lookup feature need to be documented.

A curator can specify a URI for a given term and lookup will be dynamically performed - using OLS - to get underlying terms. E.g.

lookup:http://purl.obolibrary.org/obo/GAZ_00000448

@Public-Health-Bioinformatics Public-Health-Bioinformatics removed their assignment Oct 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants