Skip to content

Commit

Permalink
Lagging change
Browse files Browse the repository at this point in the history
Bug introduced by changes in seqio/fasta.
  • Loading branch information
kortschak committed Mar 29, 2012
1 parent f826dd6 commit e134608
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions io/featio/gff/gff.go
Expand Up @@ -378,8 +378,8 @@ func (self *Writer) WriteMetaData(d interface{}) (n int, err error) {
n, err = self.w.WriteString("##" + d.(string) + "\n")
case *seq.Seq:
sw := fasta.NewWriter(self.f, self.Width)
sw.IDPrefix = fmt.Sprintf("##%s ", d.(*seq.Seq).Moltype)
sw.SeqPrefix = "##"
sw.IDPrefix = []byte(fmt.Sprintf("##%s ", d.(*seq.Seq).Moltype))
sw.SeqPrefix = []byte("##")
if n, err = sw.Write(d.(*seq.Seq)); err != nil {
return
}
Expand Down

0 comments on commit e134608

Please sign in to comment.