From dd14c6ceb73e57770f142d6ce8d9e7a9ae7820d1 Mon Sep 17 00:00:00 2001 From: Jannes Spangenberg Date: Tue, 8 Aug 2023 11:02:42 +0200 Subject: [PATCH] Fix infinite range for histplot td score --- magnipore/magnipore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magnipore/magnipore.py b/magnipore/magnipore.py index 93d6de2..d1e0a4a 100755 --- a/magnipore/magnipore.py +++ b/magnipore/magnipore.py @@ -394,7 +394,7 @@ def plotStatistics(plotting_data : pd.DataFrame, working_dir : str, first_sample def plotScores(dataframe : pd.DataFrame, working_dir : str, first_sample_label : str, sec_sample_label : str) -> None: - dataframe = dataframe[dataframe['TD Score']>=0] # otherwise logscale range is infinite with lower bound: -infinity + dataframe = dataframe[dataframe['TD Score']>0] # otherwise logscale range is infinite with lower bound: -infinity colors = { 'False, False':'wheat',