@sjcrh/proteinpaint-server 2.135.1 → 2.135.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,5 @@
1
+ import { dtTermTypes } from '#shared/terms.js'
2
+
1
3
  /*
2
4
  f{}
3
5
  filter object
@@ -18,6 +20,11 @@ export function filter2GDCfilter(f) {
18
20
  if (item.type != 'tvs') throw 'filter.lst[] item.type!="tvs"'
19
21
  if (!item.tvs) throw 'item.tvs missing'
20
22
  if (!item.tvs.term) throw 'item.tvs.term missing'
23
+ if (dtTermTypes.has(item.tvs.term.type)) {
24
+ // geneVariant/dt term filtering will be performed during post-processing
25
+ // (see mayFilterByGeneVariant() in server/src/mds3.init.js)
26
+ continue
27
+ }
21
28
 
22
29
  if (item.tvs.values) {
23
30
  // categorical