Skip to content

Commit

Permalink
moved align, bwt, and mash into new search package. (#438)
Browse files Browse the repository at this point in the history
* moved align, bwt, and mash into new search package.

* updated import paths.
  • Loading branch information
TimothyStiles authored Jan 18, 2024
1 parent 176dd5b commit b76edb9
Show file tree
Hide file tree
Showing 18 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion align/align.go → search/align/align.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Tim
package align

import (
"github.com/bebop/poly/align/matrix"
"github.com/bebop/poly/search/align/matrix"
)

// Scoring is a struct that holds the scoring matrix for match, mismatch, and gap penalties.
Expand Down
4 changes: 2 additions & 2 deletions align/align_test.go → search/align/align_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package align_test
import (
"testing"

"github.com/bebop/poly/align"
"github.com/bebop/poly/align/matrix"
"github.com/bebop/poly/alphabet"
"github.com/bebop/poly/search/align"
"github.com/bebop/poly/search/align/matrix"
)

func TestNeedlemanWunsch(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions align/example_test.go → search/align/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ package align_test
import (
"fmt"

"github.com/bebop/poly/align"
"github.com/bebop/poly/align/matrix"
"github.com/bebop/poly/alphabet"
"github.com/bebop/poly/search/align"
"github.com/bebop/poly/search/align/matrix"
)

func ExampleNeedlemanWunsch() {
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package matrix_test
import (
"testing"

"github.com/bebop/poly/align/matrix"
"github.com/bebop/poly/alphabet"
"github.com/bebop/poly/search/align/matrix"
"github.com/stretchr/testify/assert"
)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion bwt/example_test.go → search/bwt/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"log"

"github.com/bebop/poly/bwt"
"github.com/bebop/poly/search/bwt"
"golang.org/x/exp/slices"
)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion mash/example_test.go → search/mash/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package mash_test
import (
"fmt"

"github.com/bebop/poly/mash"
"github.com/bebop/poly/search/mash"
)

func ExampleMash() {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion mash/mash_test.go → search/mash/mash_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package mash_test
import (
"testing"

"github.com/bebop/poly/mash"
"github.com/bebop/poly/search/mash"
)

func TestMash(t *testing.T) {
Expand Down

0 comments on commit b76edb9

Please sign in to comment.