sgn
sgn copied to clipboard
"Graphical Filtering on Phenotype Performance" tool performance and bugs
Expected Behavior
The "Graphical Filtering on Phenotype Performance" tool on the /search/stocks
page has performance issues and a bug that don't really make it useful for most use cases.
The BrAPI request to /observationunits
takes far too long (to the point where it seems like it's not working) and once it finishes the drop down menu to select a trait is empty.
Example:
- Go to the Search > Stocks page on T3/Oat (https://oat.triticeaetoolbox.org/search/stocks)
- Limit the number of accessions to search by filtering by a single trait:
- Expand Advanced Search
- Expand Phenotypes
- Enter Groat oil content - percent in the Trait field
- Search
- This returns ~6400 accessions
- Expand the "Graphical Filtering on Phenotype Performance" section and the "Graphical Filter Accessions by Traits" subsection
- The request to
/observationunits
takes about 36 minutes to complete
- The request to
- Try to select a trait in the query builder and there is nothing listed in the drop down menu