mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
Manage a lock on StatsOnValues
This commit is contained in:
@ -201,7 +201,7 @@ func OccurInAtleast(sample string, n int) SequencePredicate {
|
||||
desc := MakeStatsOnDescription(sample)
|
||||
f := func(sequence *BioSequence) bool {
|
||||
stats := sequence.StatsOn(desc, "NA")
|
||||
return len(stats) >= n
|
||||
return stats.Len() >= n
|
||||
}
|
||||
|
||||
return f
|
||||
|
Reference in New Issue
Block a user