Skip to content

Commit

Permalink
Clean up comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kedhammar committed Feb 7, 2024
1 parent 7aaa616 commit 26c1bb2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
3 changes: 0 additions & 3 deletions tests/pytest/test_ONT_run_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@

from taca.nanopore import ONT_run_classes

# To check coverage, use
# pytest -s --cov=taca.nanopore.ONT_run_classes --cov-report term-missing -vv tests/pytest/test_ONT_run_classes.py


def make_test_config(tmp):
test_config_yaml_string = f"""mail:
Expand Down
7 changes: 2 additions & 5 deletions tests/pytest/test_analysis_nanopore.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@

from taca.analysis import analysis_nanopore

# To check coverage, use
# pytest -s --log-cli-level=INFO --cov=taca.analysis.analysis_nanopore --cov-report term-missing -vv tests/pytest/test_analysis_nanopore.py


def test_ont_transfer(create_dirs, caplog):
"""Test the "taca analaysis ont-transfer" subcommand automation from
Expand All @@ -24,7 +21,7 @@ def test_ont_transfer(create_dirs, caplog):
# Create test config
test_config_yaml = make_test_config(tmp)

# === MOCKS =============================================================
## MOCKS

# Mock config
patch("taca.utils.config.CONFIG", new=test_config_yaml).start()
Expand Down Expand Up @@ -59,7 +56,7 @@ def side_effect(*args, **kwargs):
# Reload module to implement mocks
importlib.reload(analysis_nanopore)

# === CREATE RUN DIRS ===================================================
## CREATE RUN DIRS

# User run
create_run_dir(
Expand Down
3 changes: 0 additions & 3 deletions tests/pytest/test_instrument_transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@

DUMMY_RUN_NAME = "20240112_2342_MN19414_TEST12345_randomhash"

# To check coverage, use
# pytest -c /dev/null -s --cov=taca.nanopore.instrument_transfer --cov-report term-missing -vv tests/pytest/test_instrument_transfer.py


@pytest.fixture
def setup_test_fixture():
Expand Down

0 comments on commit 26c1bb2

Please sign in to comment.