Skip to content

Commit

Permalink
rfix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
thanhleviet committed Jul 2, 2024
1 parent f37ec3e commit 0593fac
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 137 deletions.
134 changes: 0 additions & 134 deletions q2_usearch/_chimera.py

This file was deleted.

1 change: 1 addition & 0 deletions q2_usearch/tests/test_fastq_mergepairs.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import os
import pandas as pd
import unittest
from unittest.mock import patch
from qiime2.plugin.testing import TestPluginBase
from qiime2 import Artifact
Expand Down
8 changes: 5 additions & 3 deletions q2_usearch/tests/test_fastx_truncate.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@

import logging as logger
import gzip

logger.basicConfig(level=logger.DEBUG)


class TestFastxTruncate(TestPluginBase):
package = "q2_usearch.tests"

Expand All @@ -35,7 +37,7 @@ def test_fastx_truncate_default_params(self):
truncated_seqs = fastx_truncate(self.sequences)
# Check if the returned object is of the correct type
self.assertIsInstance(truncated_seqs, SingleLanePerSampleSingleEndFastqDirFmt)

def test_fastx_truncate_custom_params(self):
# Test with custom parameters
truncated_seqs = fastx_truncate(
Expand Down Expand Up @@ -140,7 +142,7 @@ def test_fastx_truncate_output_content(self):
100,
"Sequence is longer than specified truncation length",
)


if __name__ == "__main__":
unittest.main()
unittest.main()

0 comments on commit 0593fac

Please sign in to comment.