mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-06-24 09:41:00 +00:00
Update obisummary to account new obiseq.StatsOnValues type
This commit is contained in:
@@ -139,7 +139,10 @@ func (data *DataSummary) Update(s *obiseq.BioSequence) *DataSummary {
|
||||
}
|
||||
|
||||
for k, v := range s.Annotations() {
|
||||
_, isSov := v.(*obiseq.StatsOnValues)
|
||||
switch {
|
||||
case isSov:
|
||||
plusOneUpdateIntMap(data.map_tags, k)
|
||||
case obiutils.IsAMap(v):
|
||||
plusOneUpdateIntMap(data.map_tags, k)
|
||||
case obiutils.IsASlice(v):
|
||||
|
||||
Reference in New Issue
Block a user