Skip to content

Commit

Permalink
[tests] Add desc param in fastx function call
Browse files Browse the repository at this point in the history
  • Loading branch information
tanghaibao committed Nov 24, 2019
1 parent 4b879f9 commit 818cda7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agp.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func buildFasta(agpfile string, seqs map[string]*seq.Seq) {

// writeRecord writes the FASTA record to the file
func writeRecord(object string, buf bytes.Buffer, outfh *xopen.Writer) {
record, _ := fastx.NewRecordWithoutValidation(seq.DNA, []byte{}, []byte(object), buf.Bytes())
record, _ := fastx.NewRecordWithoutValidation(seq.DNA, []byte{}, []byte(object), []byte{}, buf.Bytes())
size := record.Seq.Length()
if size > LargeSequence {
log.Noticef("Write sequence %s (size = %d bp)", record.Name, size)
Expand Down

0 comments on commit 818cda7

Please sign in to comment.