Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
TwFlem committed Dec 21, 2023
1 parent 8a21bbf commit e10835f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bwt/bwt.go
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ type skipEntry struct {
// defined in this package. If it does, New will return
// an error.
func New(sequence string) (BWT, error) {
err := validateSeuqnceBeforeTransforming(&sequence)
err := validateSequenceBeforeTransforming(&sequence)
if err != nil {
return BWT{}, err
}
Expand Down Expand Up @@ -459,7 +459,7 @@ func validateRange(start, end int) (err error) {
return nil
}

func validateSeuqnceBeforeTransforming(sequence *string) (err error) {
func validateSequenceBeforeTransforming(sequence *string) (err error) {
if len(*sequence) == 0 {
return fmt.Errorf("Provided sequence must not by empty. BWT cannot be constructed")
}
Expand Down

0 comments on commit e10835f

Please sign in to comment.