Skip to content

Commit

Permalink
Corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
fredericlemoine committed May 4, 2021
1 parent df72af1 commit 64f4a12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions align/seqbag.go
Original file line number Diff line number Diff line change
Expand Up @@ -990,10 +990,7 @@ func (sb *seqbag) TrimNamesAuto(namemap map[string]string, curid *int) (err erro
(*curid)++
// In case of several alignments to rename,
// The number of necessary digits may be updated
newlength := int(math.Ceil(math.Log10(float64(*curid + 1))))
if newlength > length {
length = newlength
}
length = int(math.Ceil(math.Log10(float64(*curid + 1))))
}
seq.name = newname
}
Expand Down
3 changes: 1 addition & 2 deletions io/utils/readfiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@ package utils

import (
"bufio"
"compress/bzip2"
"compress/gzip"
"io"
"net/http"
"os"
"strings"

"compress/bzip2"

"github.com/ulikunitz/xz"
)

Expand Down

0 comments on commit 64f4a12

Please sign in to comment.