diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 058f844..6a10d40 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: # macos-13 is an intel runner, macos-14 is apple silicon - os: [ubuntu-latest] + os: [windows-latest] steps: - uses: actions/checkout@v4 diff --git a/src/trie_container.hpp b/src/trie_container.hpp index 9cc0d17..73ecd9f 100644 --- a/src/trie_container.hpp +++ b/src/trie_container.hpp @@ -18,7 +18,7 @@ class TrieContainer{ vecs seqs; - seq string_to_seqence(const std::string& s) { + seq string_to_sequence(const std::string& s) { seq sequence = seq(s.size()); for (short unsigned int i=0; i nb_neighbours; tr.hamming_neighbours(d.begin(), d.end(), hamming_distance, nb_neighbours); @@ -112,7 +112,7 @@ class TrieContainer{ } next_nodes.clear(); for(std::size_t ii: current_nodes){ - tmp_dna = string_to_seqence(seqs[ii]); + tmp_dna = string_to_sequence(seqs[ii]); tr.hamming_neighbours(tmp_dna.begin(), tmp_dna.end(), hamming_distance, next_nodes); for(std::size_t jj: next_nodes){ remove(seqs[jj]); diff --git a/src/try.cpp b/src/try.cpp index 3c3ad61..ae5e335 100644 --- a/src/try.cpp +++ b/src/try.cpp @@ -20,7 +20,7 @@ int main(){ for (std::string n : ng) std::cout << n << "\n"; std::cout << "Cluster test\n"; - std::unordered_map cluster = trie.hamming_clusters(1); + std::unordered_map cluster = trie.hamming_clusters(1); for (auto& it: cluster) { // Do stuff std::cout << it.first << ": " << it.second << "\n";