From 6750b20e77a83c223d4ada00af69074b0f3f086d Mon Sep 17 00:00:00 2001 From: Matt Settles Date: Mon, 17 Aug 2020 07:50:25 -0700 Subject: [PATCH] bug --- common/src/ioHandler.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/ioHandler.h b/common/src/ioHandler.h index 408bc91..4dfac99 100644 --- a/common/src/ioHandler.h +++ b/common/src/ioHandler.h @@ -379,10 +379,10 @@ 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(r2.get_comment()); + one.join_comment(two.get_comment()); se->write_read(one, false); } else if (!two.getDiscard() && !no_orphans) { // if stranded RC - two.join_comment(r1.get_comment()); + two.join_comment(one.get_comment()); se->write_read(two, stranded); }