Skip to content

Commit

Permalink
fix: renamed momicsquery to query
Browse files Browse the repository at this point in the history
  • Loading branch information
js2264 committed Oct 24, 2024
1 parent 02306bd commit c6b68e2
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/momics/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
"""

from . import momics
from . import momicsquery
from . import query
from . import streamer
from . import config
from . import utils
from .version import __format_version__, __version__

__all__ = [
"momics",
"momicsquery",
"query",
"streamer",
"config",
"utils",
Expand Down
2 changes: 1 addition & 1 deletion src/momics/cli/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from Bio import SeqIO
import pyranges as pr

from momics.momicsquery import MomicsQuery
from momics.query import MomicsQuery

from .. import momics
from .. import utils
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/momics/streamer.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from .momics import Momics
from .logging import logger
from .momicsquery import MomicsQuery
from .query import MomicsQuery


class MomicsStreamer:
Expand Down
4 changes: 2 additions & 2 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from momics.cli import cli
from momics import utils
from momics.momics import Momics
from momics import momicsquery
from momics import query


@pytest.fixture
Expand Down Expand Up @@ -138,7 +138,7 @@ def test_cp_track(runner, path, bw3):
assert os.path.exists("out.bw")
mom = Momics(path)
bed = pr.from_dict({"Chromosome": ["I", "I"], "Start": [990, 1990], "End": [1010, 2010]})
q = momicsquery.MomicsQuery(mom, bed).query_tracks()
q = query.MomicsQuery(mom, bed).query_tracks()

# pybigwig version
res = {"bw2": collections.defaultdict(list)}
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from momics import momics
from momics import config, logging, utils
from momics.momicsquery import MomicsQuery
from momics.query import MomicsQuery

dotenv.load_dotenv()

Expand Down
2 changes: 1 addition & 1 deletion tests/test_momics.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from momics import momics
from momics import utils
from momics.momicsquery import MomicsQuery
from momics.query import MomicsQuery


@pytest.mark.order(1)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_momics_vs_pybigwig.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import pyBigWig

from momics import momics
from momics.momicsquery import MomicsQuery
from momics.query import MomicsQuery


@pytest.mark.order(1)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_momicsquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import pytest

from momics.momics import Momics
from momics.momicsquery import MomicsQuery
from momics.query import MomicsQuery

multiprocessing.set_start_method("spawn", force=True)

Expand Down

0 comments on commit c6b68e2

Please sign in to comment.