mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
Obitag, allow for reference sequences with bad taxid, which are discarded with the emission of a warning
Former-commit-id: a8781da1afa86de9c34b008959f0705ae69fc64f
This commit is contained in:
@ -12,11 +12,11 @@ import (
|
||||
|
||||
func (t1 *TaxNode) LCA(t2 *TaxNode) (*TaxNode, error) {
|
||||
if t1 == nil {
|
||||
log.Fatalf("Try to get LCA of nil taxon")
|
||||
log.Panicf("Try to get LCA of nil taxon")
|
||||
}
|
||||
|
||||
if t2 == nil {
|
||||
log.Fatalf("Try to get LCA of nil taxon")
|
||||
log.Panicf("Try to get LCA of nil taxon")
|
||||
}
|
||||
|
||||
p1, err1 := t1.Path()
|
||||
|
Reference in New Issue
Block a user