From 6a1cd046dddaa8f7bc779e11b0136ae4e515323b Mon Sep 17 00:00:00 2001 From: jykr Date: Tue, 9 Apr 2024 16:49:32 -0400 Subject: [PATCH] test absolute import --- bean/cli/qc.py | 2 +- bean/mapping/_supporting_fn.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bean/cli/qc.py b/bean/cli/qc.py index 6182385..aa43a35 100755 --- a/bean/cli/qc.py +++ b/bean/cli/qc.py @@ -47,7 +47,7 @@ def main(args): comp_cond2=args.lfc_cond2, ctrl_cond=args.control_condition, exp_id=args.out_report_prefix, - recalculate_edits=~args.dont_recalculate_edits, + recalculate_edits=(not args.dont_recalculate_edits), base_edit_data=args.base_edit_data, remove_bad_replicates=args.remove_bad_replicates, ), diff --git a/bean/mapping/_supporting_fn.py b/bean/mapping/_supporting_fn.py index 859201e..319dc29 100755 --- a/bean/mapping/_supporting_fn.py +++ b/bean/mapping/_supporting_fn.py @@ -5,8 +5,8 @@ import gzip from Bio import SeqIO from Bio.Seq import Seq -from .CRISPResso2Align import read_matrix, global_align_base_editor -from ..framework.Edit import Allele, Edit +from bean.mapping.CRISPResso2Align import read_matrix, global_align_base_editor +from bean.framework.Edit import Allele, Edit class InputFileError(Exception):