From 7944106dc6caa97e2bddab5821650ed8f80c8ce6 Mon Sep 17 00:00:00 2001 From: Anil Thanki Date: Fri, 24 Nov 2023 12:02:10 +0000 Subject: [PATCH] fixes arg type for min_n and enables use_raw arg --- .../decoupler/decoupler_pathway_inference.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/tertiary-analysis/decoupler/decoupler_pathway_inference.py b/tools/tertiary-analysis/decoupler/decoupler_pathway_inference.py index c8d2a595..ca426464 100644 --- a/tools/tertiary-analysis/decoupler/decoupler_pathway_inference.py +++ b/tools/tertiary-analysis/decoupler/decoupler_pathway_inference.py @@ -58,7 +58,7 @@ # add argument for min_cells parser.add_argument( - "--min_n", help="Minimum of targets per source. If less, sources are removed.", default=5 + "--min_n", help="Minimum of targets per source. If less, sources are removed.", default=5, type=int ) args = parser.parse_args() @@ -82,7 +82,7 @@ ) - +print(type(args.min_n)) dc.run_mlm( mat=adata, net=network, @@ -91,7 +91,7 @@ weight=args.weight, verbose=True, min_n=args.min_n, - # use_raw=False Failing at the moment + use_raw=args.use_raw #Failing at the moment ) if args.output is not None: