Skip to content

Commit

Permalink
flake8 ok, prepare for release 0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
johaGL committed Jan 26, 2024
1 parent 595dff6 commit e8d39e1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
1 change: 0 additions & 1 deletion src/dimet/data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions src/dimet/processing/differential_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit e8d39e1

Please sign in to comment.