From the round-5 review of #244.
Where: _fleet/fleet_fragment.html: selectEdge() pre-fills the term filter with voc + ":", and renderTermList() matches by substring on the id and label.
#244 gives PDB ligand codes and Rhea compounds their own term keys (PDB-CCD:, RHEA-COMP:), but they count toward the PDB and RHEA columns in the edge's breakdown. When the edge panel is refiltered by the PDB column (for example, a PDB heading clicked while the edge file is still loading), the filter reads "PDB:". The panel then shows "PDB 140" in the breakdown and lists none of them, because every id is PDB-CCD:…. Clicking the chord directly is unaffected.
Fix: match a term against the column it counts toward as well as its own prefix, as build_subsets.column() does.
From the round-5 review of #244.
Where:
_fleet/fleet_fragment.html:selectEdge()pre-fills the term filter withvoc + ":", andrenderTermList()matches by substring on the id and label.#244 gives PDB ligand codes and Rhea compounds their own term keys (
PDB-CCD:,RHEA-COMP:), but they count toward the PDB and RHEA columns in the edge's breakdown. When the edge panel is refiltered by the PDB column (for example, a PDB heading clicked while the edge file is still loading), the filter reads "PDB:". The panel then shows "PDB 140" in the breakdown and lists none of them, because every id isPDB-CCD:…. Clicking the chord directly is unaffected.Fix: match a term against the column it counts toward as well as its own prefix, as
build_subsets.column()does.