Skip to content

Commit f40a204

Browse files
author
Sergey Koren
committed
don't use the first read when we're backing up
1 parent 70618e0 commit f40a204

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utgcns/unitigConsensus.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ unitigConsensus::generateTemplateStitch(void) {
381381
bool first = (nm == 0);
382382
bool save = false;
383383

384-
if ((nm < _utgpos[ii].max()) && (thick || first) && badToAdd.count(ii) == 0) {
384+
if ((nm < _utgpos[ii].max()) && (thick || (first && !allowContains)) && badToAdd.count(ii) == 0) {
385385
save = true;
386386
nr = ii;
387387
nm = _utgpos[ii].max();

0 commit comments

Comments
 (0)