Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolai-vKuegelgen committed Apr 30, 2024
1 parent ca3b76e commit a383a63
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cubi_tk/snappy/itransfer_sv_calling.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(self, args):
f"Could not find any sv-calling step name in 'config.yaml'. Was looking for one of: {', '.join(self.__class__.step_names)}"
)

if self.step_name == "sv-calling_targeted":
if self.step_name == "sv_calling_targeted":
self.defined_callers = config["step_config"][self.step_name]["tools"]
else: # if self.step_name == 'sv-calling_wgs'
# For WGS config looks like: sv-calling_wgs::tools::<dna>::[...]
Expand Down
9 changes: 5 additions & 4 deletions tests/test_snappy_itransfer_sv_calling.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,11 @@ def fake_config(n_tools=1):

tool2 = textwrap.dedent(
r"""
sv_calling:
tools:
- gcnv
- manta
sv_calling_wgs:
dna:
tools:
- gcnv
- manta
dummy_line
"""
).rstrip("dummy_line\n")
Expand Down

0 comments on commit a383a63

Please sign in to comment.