Skip to content

Commit

Permalink
revert rounding
Browse files Browse the repository at this point in the history
  • Loading branch information
balajtimate committed Oct 24, 2024
1 parent 5bb3230 commit 1b281db
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions htsinfer/get_read_orientation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 1b281db

Please sign in to comment.