PitchInteractiveInc / Phinch

Phinch is an open-source framework for visualizing biological data, funded by a grant from the Alfred P. Sloan foundation. This project represents an interdisciplinary collaboration between Pitch Interactive, a data visualization studio in Oakland, CA, and biological researchers at UC Riverside.
http://phinch.org/
BSD 2-Clause "Simplified" License
149 stars 30 forks source link

Filter not applied with multiple categorical metadata fields #73

Open iimog opened 7 years ago

iimog commented 7 years ago

If a biom file contains multiple categorical metadata fields the filtering is not triggered by all of the checkboxes.

Here is a minimal example to demonstrate the bug:

  1. Load this biom file into Phinch.
  2. On the filtering page select one of the checkboxes labeled X, Y, or Z

The filtering is not triggered and all three samples will remain visible in the list. If the filtering is triggered by selecting one of the boxes A, B, or C the state of the other checkboxes is used. (So clicking Y and then C will only leave one sample). But if you proceed to gallery without triggering the filtering manually the filter for just Y is not applied and all samples are used.

screenshot from 2017-04-11 17-44-21