Skip to content

Commit

Permalink
spoa-upgrade: bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
tbrekalo committed Dec 29, 2023
1 parent 1317be4 commit 2884beb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ int main(int argc, char** argv) {
auto polisher = racon::createPolisher(input_paths[0], input_paths[1],
input_paths[2], type == 0 ? racon::PolisherType::kC :
racon::PolisherType::kF, window_length, quality_threshold,
error_threshold, trim, min_coverage, match, mismatch, gap, num_threads,
error_threshold, trim, match, mismatch, gap, num_threads, min_coverage,
cudapoa_batches, cuda_banded_alignment, cudaaligner_batches,
cudaaligner_band_width);

Expand Down
8 changes: 4 additions & 4 deletions src/polisher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ void shrinkToFit(std::vector<std::unique_ptr<T>>& src, uint64_t begin) {
std::unique_ptr<Polisher> createPolisher(const std::string& sequences_path,
const std::string& overlaps_path, const std::string& target_path,
PolisherType type, uint32_t window_length, double quality_threshold,
double error_threshold, bool trim, int8_t match, int8_t mismatch, int8_t gap,
uint32_t num_threads, int32_t min_coverage, uint32_t cudapoa_batches,
bool cuda_banded_alignment, uint32_t cudaaligner_batches,
uint32_t cudaaligner_band_width) {
double error_threshold, bool trim, int8_t match, int8_t mismatch,
int8_t gap, uint32_t num_threads, int32_t min_coverage,
uint32_t cudapoa_batches, bool cuda_banded_alignment,
uint32_t cudaaligner_batches, uint32_t cudaaligner_band_width) {

if (type != PolisherType::kC && type != PolisherType::kF) {
fprintf(stderr, "[racon::createPolisher] error: invalid polisher type!\n");
Expand Down

0 comments on commit 2884beb

Please sign in to comment.