Skip to content

Commit

Permalink
modify laml_libs/preprocess/*.py so that they import libs from lamlin…
Browse files Browse the repository at this point in the history
…stead of cassiopeia
  • Loading branch information
uym2 committed Jul 9, 2024
1 parent 35a0408 commit c31f516
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions laml_libs/preprocess/UMI_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
from tqdm.auto import tqdm
import warnings

from cassiopeia.mixins import logger, PreprocessError, PreprocessWarning
from cassiopeia.preprocess import constants
from laml_libs.mixins import logger, PreprocessError, PreprocessWarning
from laml_libs.preprocess import constants

from .collapse_cython import (
hq_mismatches_from_seed,
Expand Down
6 changes: 3 additions & 3 deletions laml_libs/preprocess/cassiopeia_preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This file stores the main entry point for Cassiopeia-preprocess, and makes
heavy use of the high level functionality in
cassiopeia.preprocess.pipeline. Here, we assume that the user
laml_libs.preprocess.pipeline. Here, we assume that the user
has already run CellRanger Count, or some equivalent, to obtain a BAM file that
relates cell barcodes and UMIs to sequences.
Expand All @@ -16,8 +16,8 @@
import pandas as pd
from typing import Any, Dict

from cassiopeia.mixins import logger, PreprocessError
from cassiopeia.preprocess import pipeline, setup_utilities, utilities
from laml_libs.mixins import logger, PreprocessError
from laml_libs.preprocess import pipeline, setup_utilities, utilities

STAGES = {
"convert": pipeline.convert_fastqs_to_unmapped_bam,
Expand Down
4 changes: 2 additions & 2 deletions laml_libs/preprocess/doublet_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

import pandas as pd

from cassiopeia.mixins import logger
from cassiopeia.preprocess import utilities
from laml_libs.mixins import logger
from laml_libs.preprocess import utilities


@utilities.log_molecule_table
Expand Down
6 changes: 3 additions & 3 deletions laml_libs/preprocess/setup_utilities.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
""""
A file that stores general functionality for setting up a Cassiopeia
preprocessing instance. This file supports the command line interface entrypoint
in cassiopeia_preprocess.py.
in laml_libs_preprocess.py.
"""
import os

Expand All @@ -10,8 +10,8 @@
import logging
from typing import Any, Dict

from cassiopeia.mixins import logger, UnspecifiedConfigParameterError
from cassiopeia.preprocess import constants
from laml_libs.mixins import logger, UnspecifiedConfigParameterError
from laml_libs.preprocess import constants


def setup(output_directory_location: str, verbose: bool) -> None:
Expand Down
2 changes: 1 addition & 1 deletion laml_libs/preprocess/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import re
from tqdm.auto import tqdm

from cassiopeia.mixins import is_ambiguous_state, logger, PreprocessWarning
from laml_libs.mixins import is_ambiguous_state, logger, PreprocessWarning


def log_molecule_table(wrapped: Callable):
Expand Down

0 comments on commit c31f516

Please sign in to comment.