Skip to content

Commit

Permalink
Merge pull request #236 from s4hts/fix_tags_in_discard
Browse files Browse the repository at this point in the history
Fix tags in discard
  • Loading branch information
msettles authored Aug 17, 2020
2 parents df133e6 + 6750b20 commit caee236
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion common/src/ioHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -379,9 +379,11 @@ class WriterHelper : public ReadVisitor {
if (!one.getDiscard() && !two.getDiscard()) {
pe->write(*per);
} else if (!one.getDiscard() && !no_orphans) { // Will never be RC
one.join_comment(two.get_comment());
se->write_read(one, false);
} else if (!two.getDiscard() && !no_orphans) { // if stranded RC
se->write_read((per->get_read_two()), stranded);
two.join_comment(one.get_comment());
se->write_read(two, stranded);
}

}
Expand Down

0 comments on commit caee236

Please sign in to comment.