-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow filtering of data in second tree
Trees define traitNames and traitValues via their `node_attrs` in the dataset JSON, for instance "traitName=country" and "traitValue=New Zealand". We populate the filtering dropdowns using these, but had previously only considered the main (LHS) tree. Behavioural changes: * traitName & traitValue present on both trees: no change. Filtering works as expected. * traitName on both trees, traitValue only on 2nd tree: functionality added here. * traitName only present on 2nd tree: this now works, but the app crashes from an uncaught error in the filter badges shown in the header. This will be fixed in the next commit. In addition, mutations and node ("sample") names unique to the 2nd tree are added to the available filters. Closes #1781
- Loading branch information
1 parent
62b6dd2
commit 3165d95
Showing
2 changed files
with
42 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters