Skip to content

Commit 79807f0

Browse files
committed
overhauling metagenomics subworkflow, the CLI wrapper, and the oneroof display
1 parent 631ab98 commit 79807f0

19 files changed

+754
-324
lines changed

bin/__main__.py

Lines changed: 300 additions & 94 deletions
Large diffs are not rendered by default.

bin/slack_alerts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def send_slack_notification(
148148
try:
149149
client = WebClient(token=slack_token)
150150
# Send the message to a channel
151-
response = client.chat_postMessage(
151+
client.chat_postMessage(
152152
channel=user_id, # or a user ID like "U12345678"
153153
blocks=block,
154154
)

bin/test_file_watcher.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
from unittest.mock import Mock, mock_open, patch
1717

1818
import pytest
19-
import yaml
20-
from paramiko.client import SSHClient
21-
2219
from file_watcher import (
2320
Credentials,
2421
TransferRunner,
@@ -30,7 +27,7 @@
3027
try_access_env_setting,
3128
try_access_setting,
3229
)
33-
30+
from paramiko.client import SSHClient
3431

3532
# =============================================================================
3633
# Fixtures

bin/test_ivar_variants_to_vcf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ def test_malformed_file_handling(self, malformed_ivar_tsv, output_vcf_path):
535535

536536
def test_strand_bias_detection(self, strand_bias_ivar_tsv, output_vcf_path):
537537
"""Test strand bias detection."""
538-
config = ConversionConfig(
538+
ConversionConfig(
539539
file_in=strand_bias_ivar_tsv,
540540
file_out=output_vcf_path,
541541
ignore_strand_bias=False,

conf/nanopore.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ params {
3838
consensus = params.ont_results + "/04_consensus_seqs"
3939

4040
// metagenomic results
41-
metagenomics = params.ont_results + "/metagenomics"
41+
metagenomics = params.ont_results + "/08_metagenomics"
4242

4343
//haplyotyping results
4444
haplotyping = params.ont_results + "/haplotyping"

0 commit comments

Comments
 (0)