Correctly print StatsOn values in obiformat style

This commit is contained in:
2022-06-14 10:00:45 +02:00
parent f0de4d8f28
commit b4cabf31fc

View File

@ -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)