mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
Correctly print StatsOn values in obiformat style
This commit is contained in:
@ -294,7 +294,8 @@ func FormatFastSeqOBIHeader(sequence *obiseq.BioSequence) string {
|
||||
case string:
|
||||
text.WriteString(fmt.Sprintf("%s=%s; ", key, t))
|
||||
case map[string]int,
|
||||
map[string]interface{}:
|
||||
map[string]interface{},
|
||||
obiseq.StatsOnValues:
|
||||
tv, err := json.Marshal(t)
|
||||
if err != nil {
|
||||
log.Fatalf("Cannot convert %v value", value)
|
||||
|
Reference in New Issue
Block a user