diff --git a/pyproject.toml b/pyproject.toml index a685732..fa751e1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name="DIMet" -version="0.2.0" +version="0.2.1" description="A tool for Differential analysis of Isotope-labeled targeted Metabolomics data" readme="README.md" license = "MIT" diff --git a/src/dimet/data/__init__.py b/src/dimet/data/__init__.py index 509333f..ec57b22 100644 --- a/src/dimet/data/__init__.py +++ b/src/dimet/data/__init__.py @@ -75,7 +75,6 @@ def preload(self): else: self.sub_folder_absolute = self.config.subfolder - # start loading the dataframes file_paths = [ ("metadata", os.path.join(self.sub_folder_absolute, diff --git a/src/dimet/processing/differential_analysis.py b/src/dimet/processing/differential_analysis.py index 61dd37c..05b3cde 100644 --- a/src/dimet/processing/differential_analysis.py +++ b/src/dimet/processing/differential_analysis.py @@ -267,8 +267,8 @@ def compute_p_value(df: pd.DataFrame, test: str, best_dist, df["pvalue"] = 2 * ( 1 - best_dist.cdf(abs(df["zscore"]), **args_param)) else: - print( - "WARNING: two-tailed or not") # TODO: clarify the warning message + print("WARNING [compute_p_value]: only 'right-tailed' or " + "'two-sided' as test argument supported") return df