Skip to content

Commit

Permalink
Changed class name: 'MEIWorkflow' -> 'MeiWorkflow'.
Browse files Browse the repository at this point in the history
  • Loading branch information
eudesbarbosa committed Sep 27, 2022
1 parent ad02391 commit ec32d31
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions snappy_pipeline/workflows/targeted_seq_mei_calling/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import os

from snappy_pipeline import expand_ref
from snappy_pipeline.workflows.targeted_seq_mei_calling import MEIWorkflow
from snappy_pipeline.workflows.targeted_seq_mei_calling import MeiWorkflow


# Configuration ===============================================================
Expand All @@ -18,7 +18,7 @@ config, lookup_paths, config_paths = expand_ref("config.yaml", config)

# WorkflowImpl Object Setup ===================================================

wf = MEIWorkflow(workflow, config, lookup_paths, config_paths, os.getcwd())
wf = MeiWorkflow(workflow, config, lookup_paths, config_paths, os.getcwd())

# Rules =======================================================================

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def get_resource_usage(self, action):
)


class MEIWorkflow(BaseStep):
class MeiWorkflow(BaseStep):
"""Perform germline mobile element insertion detection."""

#: Workflow name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import ruamel.yaml as ruamel_yaml
from snakemake.io import Wildcards

from snappy_pipeline.workflows.targeted_seq_mei_calling import MEIWorkflow
from snappy_pipeline.workflows.targeted_seq_mei_calling import MeiWorkflow

from .conftest import patch_module_fs

Expand Down Expand Up @@ -57,7 +57,7 @@ def mei_workflow(
germline_sheet_fake_fs,
mocker,
):
"""Return MEIWorkflow object pre-configured with germline sheet"""
"""Return MeiWorkflow object pre-configured with germline sheet"""
# Create reference genome file
germline_sheet_fake_fs.fs.create_file(
"/path/to/blast_ref.fa",
Expand All @@ -73,7 +73,7 @@ def mei_workflow(
# can obtain paths from the function as if we really had a NGSMappingPipelineStep here
dummy_workflow.globals = {"ngs_mapping": lambda x: "NGS_MAPPING/" + x}
# Construct the workflow object
return MEIWorkflow(
return MeiWorkflow(
dummy_workflow,
minimal_config,
config_lookup_paths,
Expand Down Expand Up @@ -174,11 +174,11 @@ def test_scramble_analysis_step_part_get_resource_usage(mei_workflow):
assert actual == expected, msg_error


# Tests for MEIWorkflow -----------------------------------------------------------------------
# Tests for MeiWorkflow -----------------------------------------------------------------------


def test_mei_workflow_files(mei_workflow):
"""Tests MEIWorkflow.get_result_files()
"""Tests MeiWorkflow.get_result_files()
Tests simple functionality of the workflow: checks if file structure is created according
to the expected results for scramble.
"""
Expand Down

0 comments on commit ec32d31

Please sign in to comment.