Skip to content

Commit

Permalink
Fixed bug resource location not passed to cello.predict in cello_predict
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Bernstein authored and Matthew Bernstein committed Jun 24, 2021
1 parent af3303a commit bc2192a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions cello/cello_predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,8 @@ def main():
cell_to_clust=cell_to_cluster,
log_dir=log_dir,
res=1.0,
remove_anatomical_subterms=remove_anatomical_subterms
remove_anatomical_subterms=remove_anatomical_subterms,
rsrc_loc=rsrc_loc
)

# Convert to human-readable ontology terms
Expand Down Expand Up @@ -216,7 +217,8 @@ def run_cello(
cell_to_clust=None,
log_dir=None,
res=1.0,
remove_anatomical_subterms=None
remove_anatomical_subterms=None,
rsrc_loc=None
):
# Get units into log(TPM+1)
if assay == FULL_LENGTH_ASSAY:
Expand Down Expand Up @@ -257,7 +259,8 @@ def run_cello(
algo=algo,
clust_key=clust_key,
log_dir=log_dir,
remove_anatomical_subterms=remove_anatomical_subterms
remove_anatomical_subterms=remove_anatomical_subterms,
rsrc_loc=rsrc_loc
)

return results_df, finalized_binary_results_df, ms_results_df
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

setup(
name="cello_classify",
version="2.0.1",
version="2.0.3",
description="CellO",
author="Matthew N. Bernstein",
author_email="[email protected]",
Expand Down

0 comments on commit bc2192a

Please sign in to comment.