Skip to content

Commit

Permalink
Merge pull request #48 from loucerac/add_logging
Browse files Browse the repository at this point in the history
Add logging
  • Loading branch information
loucerac authored May 8, 2023
2 parents a150ef7 + b5fe19f commit dfab037
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions drexml/cli/stab_explainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@
n_chunks = max(1, n_devices)
chunk_size = len(features_val) // (n_chunks) + 1

print(f"{add=}")

def runner(model, bkg, new, check_add, use_gpu):

gpu_id = queue.get()
Expand Down
1 change: 1 addition & 0 deletions drexml/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ def parse_stab(argv):
n_gpus = int(n_gpus)
n_cpus = int(n_cpus)
debug = bool(int(debug))
add = bool(int(add))

if mode == "final":
n_splits = 1
Expand Down
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 = "drexml"
version = "0.9.7"
version = "0.9.8"
description = "(DRExM³L) Drug REpurposing using and eXplainable Machine Learning and Mechanistic Models of signal transduction\""
authors = [
"Carlos Loucera <[email protected]>",
Expand Down

0 comments on commit dfab037

Please sign in to comment.