Skip to content

Clean up redundant CellRank calls in perturbation tutorial cells#76

Merged
WWXkenmo merged 1 commit into
mainfrom
cleanup/tutorial-code
Jun 23, 2026
Merged

Clean up redundant CellRank calls in perturbation tutorial cells#76
WWXkenmo merged 1 commit into
mainfrom
cleanup/tutorial-code

Conversation

@WWXkenmo

Copy link
Copy Markdown
Member

Remove unnecessary compute_macrostates() calls in perturbation loops where terminal states are set directly via cell-index dicts (ct_indices), bypassing macrostate detection entirely. Also remove redundant ConnectivityKernel recomputation inside perturbation loops and per-TF cells — connectivity is derived from expression/PCA space and is identical across all perturbed models. Fix TF_list=TF typo in zebrafish TFscreening call (loop variable vs. full TF list).

Remove unnecessary compute_macrostates() calls in perturbation loops
where terminal states are set directly via cell-index dicts (ct_indices),
bypassing macrostate detection entirely. Also remove redundant
ConnectivityKernel recomputation inside perturbation loops and per-TF
cells — connectivity is derived from expression/PCA space and is
identical across all perturbed models. Fix TF_list=TF typo in zebrafish
TFscreening call (loop variable vs. full TF list).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@WWXkenmo WWXkenmo merged commit ba0a1f4 into main Jun 23, 2026
2 checks passed
@WWXkenmo WWXkenmo deleted the cleanup/tutorial-code branch June 23, 2026 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant