diff --git a/strkit/mi/base.py b/strkit/mi/base.py index e57acd9..8bb34a1 100644 --- a/strkit/mi/base.py +++ b/strkit/mi/base.py @@ -64,7 +64,7 @@ def __init__( self._loci_file: Optional[str] = loci_file self._loci_dict: LociDictOfDict = build_loci_dict_of_dict_from_file(loci_file) if self._loci_file is not None: - self._logger.debug("Built loci dict of size %d", len(self._loci_dict)) + self._logger.debug("Built loci dict of size %d", sum(len(loc) for loc in self._loci_dict.values())) self._exclude_file: Optional[str] = exclude_file self._exclude_dict: LociDictOfList = build_loci_dict_of_list_from_file(exclude_file) diff --git a/strkit/mi/intervals.py b/strkit/mi/intervals.py index 5e5e688..0095aa0 100644 --- a/strkit/mi/intervals.py +++ b/strkit/mi/intervals.py @@ -27,8 +27,6 @@ def build_loci_dict_of_dict_from_file(loci_path: Optional[Union[str, Path]]) -> with open(loci_path, "r") as lf: for line in filter(_line_filter_fn, map(str.strip, lf)): - print(line) - ls = line.split("\t") contig, ss, es = ls[:3]