From 98fbdcd556fa3268528fcc2d3e4b9cb2a3e7a301 Mon Sep 17 00:00:00 2001 From: Johannes Koester Date: Tue, 17 Sep 2024 16:51:30 +0200 Subject: [PATCH] fmt --- .cargo/config => config.toml | 0 src/bam/record.rs | 14 ++++++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) rename .cargo/config => config.toml (100%) diff --git a/.cargo/config b/config.toml similarity index 100% rename from .cargo/config rename to config.toml diff --git a/src/bam/record.rs b/src/bam/record.rs index 4709cc37a..ebedc3b18 100644 --- a/src/bam/record.rs +++ b/src/bam/record.rs @@ -1089,9 +1089,19 @@ impl Record { } let (pos_1, pos_2, fwd_1, fwd_2) = if self.is_first_in_template() { - (self.pos(), self.mpos(), !self.is_reverse(), !self.is_mate_reverse()) + ( + self.pos(), + self.mpos(), + !self.is_reverse(), + !self.is_mate_reverse(), + ) } else { - (self.mpos(), self.pos(), !self.is_mate_reverse(), !self.is_reverse()) + ( + self.mpos(), + self.pos(), + !self.is_mate_reverse(), + !self.is_reverse(), + ) }; if pos_1 < pos_2 {