Don't drop ref tile data when filtering.
authorTom Clegg <tom@tomclegg.ca>
Mon, 2 Nov 2020 14:13:52 +0000 (09:13 -0500)
committerTom Clegg <tom@tomclegg.ca>
Mon, 2 Nov 2020 14:13:52 +0000 (09:13 -0500)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>

filter.go

index b90f6eabc3f64959a31bcfd5a2c40f68e250ae60..a4ffce8e7aa4d0c6ec355d7625a77ef6c52ff87d 100644 (file)
--- a/filter.go
+++ b/filter.go
@@ -39,7 +39,6 @@ func (f *filter) Apply(tilelib *tileLibrary) {
                        if len(variants) <= f.MaxVariants {
                                continue
                        }
-                       tilelib.variant[tag] = nil
                        for _, cg := range tilelib.compactGenomes {
                                if len(cg) > tag*2 {
                                        cg[tag*2] = 0