Skip to content

Commit

Permalink
allow using edit in created screen without .uns
Browse files Browse the repository at this point in the history
  • Loading branch information
jykr committed Feb 7, 2025
1 parent 02b457f commit d905479
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bean/cli/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,9 @@ def main(args, return_data=False):
if args.library_design == "variant":
if not args.uniform_edit:
if "edit_rate" not in ndata.screen.guides.columns:
ndata.screen.get_edit_from_allele()
ndata.screen.get_edit_mat_from_uns(rel_pos_is_reporter=True)
if "edits" not in ndata.screen.layers:
ndata.screen.get_edit_from_allele()
ndata.screen.get_edit_mat_from_uns(rel_pos_is_reporter=True)
ndata.screen.get_guide_edit_rate(
unsorted_condition_label=_control_condition
)
Expand Down

0 comments on commit d905479

Please sign in to comment.