Skip to content

Commit

Permalink
0.0.5 (#6)
Browse files Browse the repository at this point in the history
* fix the bug in the pre_selected_covs processing

* update version to 0.0.5

* pine dependency on mrtool to 0.1.4
  • Loading branch information
zhengp0 authored Jan 5, 2024
1 parent 00489d7 commit e971015
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ build-backend = "setuptools.build_meta"

[project]
name = "bopforge"
version = "0.0.4"
version = "0.0.5"
description = "Pipelines for Burden of Proof (BoP) analyses"
readme = "REDME.md"
requires-python = ">=3.10"
license = { file = "LICENSE" }
authors = [
{ name = "IHME Math Sciences", email = "[email protected]" },
]
dependencies = ["numpy", "scipy", "pandas", "matplotlib", "mrtool", "pplkit"]
dependencies = ["numpy", "scipy", "pandas", "matplotlib", "mrtool==0.1.4", "pplkit"]

[project.optional-dependencies]
test = ["pytest"]
Expand Down
4 changes: 2 additions & 2 deletions src/bopforge/continuous_pipeline/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ def pre_processing(dataif: DataInterface) -> None:
df.drop(columns=covs_to_remove, inplace=True)

# remove from settings
all_covs = set(all_covs)
covs_to_remove = set(covs_to_remove)
all_covs = set("em" + col[3:] for col in all_covs)
covs_to_remove = set("em" + col[3:] for col in covs_to_remove)
pre_selected_covs = set(settings["pre_selected_covs"])
pre_selected_covs = pre_selected_covs & all_covs
pre_selected_covs = pre_selected_covs - covs_to_remove
Expand Down

0 comments on commit e971015

Please sign in to comment.