Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/cli.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#ifndef ULTRA_CLI_HPP
#define ULTRA_CLI_HPP

#define ULTRA_VERSION_STRING "1.2.1"
#define ULTRA_VERSION_STRING "1.2.2"
#define DEBUG_STRING ""
#ifdef DEBUG_PRAGMA
#undef DEBUG_STRING
Expand Down
3 changes: 2 additions & 1 deletion src/ultra.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,8 @@ void Ultra::OutputRepeats(bool flush) {
}

r->SortConsensi();
if (r->repeatLength / r->repeatPeriod >= settings->min_units)
if (r->regionScore >= scoreThreshold &&
r->repeatLength / r->repeatPeriod >= settings->min_units)
OutputRepeat(r);

delete r;
Expand Down
Loading