mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-11-10 01:24:41 +00:00
Rename the Length methods Len to follow GO standart
This commit is contained in:
1 parent
eb32089305
commit
29563aa94e
30 files changed
+134
-130
No files matched your search
@@ -60,8 +60,8 @@ var _notavail = encodeValues(0, 30000, false)
|
||||
|
||||
func FastLCSScore(seqA, seqB *obiseq.BioSequence, maxError int, buffer *[]uint64) (int, int) {
|
||||
|
||||
lA := seqA.Length()
|
||||
lB := seqB.Length()
|
||||
lA := seqA.Len()
|
||||
lB := seqB.Len()
|
||||
|
||||
// Ensure that A is the longest
|
||||
if lA < lB {
|
||||
@@ -70,7 +70,7 @@ func FastLCSScore(seqA, seqB *obiseq.BioSequence, maxError int, buffer *[]uint64
|
||||
}
|
||||
|
||||
if maxError == -1 {
|
||||
maxError = lA*2
|
||||
maxError = lA * 2
|
||||
}
|
||||
|
||||
delta := lA - lB
|
||||
|
||||
Reference in new issue
Block a user