Skip to content

Commit

Permalink
fixes arg type for min_n and enables use_raw arg
Browse files Browse the repository at this point in the history
  • Loading branch information
anilthanki committed Nov 24, 2023
1 parent 7f25d64 commit 7944106
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand All @@ -82,7 +82,7 @@
)



print(type(args.min_n))
dc.run_mlm(
mat=adata,
net=network,
Expand All @@ -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:
Expand Down

0 comments on commit 7944106

Please sign in to comment.