Update nex_tmpl.go

This commit is contained in:
kuoi 2022-01-04 12:05:27 +00:00 committed by GitHub
parent c449b57a80
commit 20d8d7d691
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@ package fas_parser
const Nex_tmpl = `#NEXUS
BEGIN DATA;
DIMENSIONS NTAX={{ .Ntax }} NCHAR={{ .Nchar }};
FORMAT DATATYPE=DNA GAP=- MISSING=? ; #DATATYPE={}
FORMAT DATATYPE=DNA GAP=- MISSING=?;
MATRIX
{{- range $k, $v := .Matrix }}
'{{ $k }}' {{ $v }}{{ end }}
@ -17,4 +17,4 @@ END;
`
// 最后那个 $i 好像有问题
// {{/* $k| printf "%-40s" */}}
// {{/* $k| printf "%-40s" */}}