Skip to content

Commit bc2192a

Browse files
Matthew BernsteinMatthew Bernstein
authored andcommitted
Fixed bug resource location not passed to cello.predict in cello_predict
1 parent af3303a commit bc2192a

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

cello/cello_predict.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,8 @@ def main():
174174
cell_to_clust=cell_to_cluster,
175175
log_dir=log_dir,
176176
res=1.0,
177-
remove_anatomical_subterms=remove_anatomical_subterms
177+
remove_anatomical_subterms=remove_anatomical_subterms,
178+
rsrc_loc=rsrc_loc
178179
)
179180

180181
# Convert to human-readable ontology terms
@@ -216,7 +217,8 @@ def run_cello(
216217
cell_to_clust=None,
217218
log_dir=None,
218219
res=1.0,
219-
remove_anatomical_subterms=None
220+
remove_anatomical_subterms=None,
221+
rsrc_loc=None
220222
):
221223
# Get units into log(TPM+1)
222224
if assay == FULL_LENGTH_ASSAY:
@@ -257,7 +259,8 @@ def run_cello(
257259
algo=algo,
258260
clust_key=clust_key,
259261
log_dir=log_dir,
260-
remove_anatomical_subterms=remove_anatomical_subterms
262+
remove_anatomical_subterms=remove_anatomical_subterms,
263+
rsrc_loc=rsrc_loc
261264
)
262265

263266
return results_df, finalized_binary_results_df, ms_results_df

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
setup(
2626
name="cello_classify",
27-
version="2.0.1",
27+
version="2.0.3",
2828
description="CellO",
2929
author="Matthew N. Bernstein",
3030
author_email="mbernstein@morgridge.org",

0 commit comments

Comments
 (0)