From 9ee45701b78244200b0f481f829b43226a0b308c Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Thu, 9 Nov 2023 22:37:55 +0200 Subject: [PATCH] correction of two warnings Former-commit-id: d2d08b5d6f7511598625536f5a708db347742c20 --- go.mod | 2 +- pkg/obitools/obitagpcr/pcrtag.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 4f4bf09..efdc1b0 100644 --- a/go.mod +++ b/go.mod @@ -17,6 +17,7 @@ require ( github.com/tevino/abool/v2 v2.1.0 golang.org/x/exp v0.0.0-20231006140011-7918f672742d gonum.org/v1/gonum v0.14.0 + gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c scientificgo.org/special v0.0.0 ) @@ -25,7 +26,6 @@ require ( github.com/kr/pretty v0.2.1 // indirect github.com/kr/text v0.1.0 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect - gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect ) require ( diff --git a/pkg/obitools/obitagpcr/pcrtag.go b/pkg/obitools/obitagpcr/pcrtag.go index 7435f13..0ec0788 100644 --- a/pkg/obitools/obitagpcr/pcrtag.go +++ b/pkg/obitools/obitagpcr/pcrtag.go @@ -115,7 +115,7 @@ func IPCRTagPESequencesBatch(iterator obiiter.IBioSequence, A.Annotations()["demultiplex_error"] = demultiplex_error.(string) B.Annotations()["demultiplex_error"] = demultiplex_error.(string) } else { - log.Panicln("@@ ", wid, "Error : ", err, *consensus) + log.Panicln("@@ ", wid, "Error : ", err, consensus.Id()) } } }