projects
/
lightning.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
292a945
)
Support -max-tag flag for debugging.
author
Tom Clegg <tom@curii.com>
Wed, 9 Feb 2022 21:17:10 +0000
(16:17 -0500)
committer
Tom Clegg <tom@curii.com>
Wed, 9 Feb 2022 21:17:10 +0000
(16:17 -0500)
refs #18581
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
slicenumpy.go
patch
|
blob
|
history
diff --git
a/slicenumpy.go
b/slicenumpy.go
index 77877b3fcaaca0cf7b0b18c207c4675307ac2ffa..4a2f6654d227f526ded40731f9611cda42a94909 100644
(file)
--- a/
slicenumpy.go
+++ b/
slicenumpy.go
@@
-247,6
+247,9
@@
func (cmd *sliceNumpy) RunCommand(prog string, args []string, stdin io.Reader, s
for seqname, cseq := range refseq {
pos := 0
for _, libref := range cseq {
+ if libref.Tag > tagID(cmd.filter.MaxTag) {
+ continue
+ }
tiledata := reftiledata[libref]
if len(tiledata) == 0 {
err = fmt.Errorf("missing tiledata for tag %d variant %d in %s in ref", libref.Tag, libref.Variant, seqname)