From 1b281db0ce4b1d7cff1dc3ee600ccf4414922396 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Balajti?= Date: Thu, 24 Oct 2024 17:39:32 +0200 Subject: [PATCH] revert rounding --- htsinfer/get_read_orientation.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htsinfer/get_read_orientation.py b/htsinfer/get_read_orientation.py index d1f63ca..cfc4cbd 100644 --- a/htsinfer/get_read_orientation.py +++ b/htsinfer/get_read_orientation.py @@ -186,8 +186,8 @@ def process_single( f"Required number of mapped reads: {self.min_mapped_reads}" ) LOGGER.info(f"Number of mapped reads: {orient_df.iloc[0, 0]}") - LOGGER.info(f"Fraction of SF: {round(orient_df.iloc[0, 1], 3)}") - LOGGER.info(f"Fraction of SR: {round(orient_df.iloc[0, 2], 3)}") + LOGGER.info(f"Fraction of SF: {orient_df.iloc[0, 1], 3}") + LOGGER.info(f"Fraction of SR: {orient_df.iloc[0, 2], 3}") LOGGER.debug(f"Orientation: {orient_df.iloc[0, 3]}") self.write_orientation_to_json(orient_df, self.paths[0].name) @@ -313,8 +313,8 @@ def process_paired( # pylint: disable=R0912,R0915 f"Required number of mapped reads: {self.min_mapped_reads}" ) LOGGER.info(f"Number of mapped reads: {orient_df_1.iloc[0, 0]}") - LOGGER.info(f"Fraction of ISF: {round(orient_df_1.iloc[0, 1], 3)}") - LOGGER.info(f"Fraction of ISR: {round(orient_df_1.iloc[0, 2], 3)}") + LOGGER.info(f"Fraction of ISF: {orient_df_1.iloc[0, 1], 3}") + LOGGER.info(f"Fraction of ISR: {orient_df_1.iloc[0, 2], 3}") LOGGER.debug(f"Orientation file 1: {orient_df_1.iloc[0, 3]}") LOGGER.debug(f"Orientation file 2: {orient_df_2.iloc[0, 3]}") LOGGER.debug(