Skip to content

Commit 888efd6

Browse files
author
Victor
committed
Removed obsolete rand_generator function.
1 parent ed6b21f commit 888efd6

4 files changed

Lines changed: 0 additions & 26 deletions

File tree

tests/test_16s_dna_prep.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
import unittest
66
import json
7-
import random
8-
import string
97

108
from cutlass import SixteenSDnaPrep
119
from cutlass import MIMARKS, MimarksException

tests/test_16s_raw_seq_set.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
import unittest
66
import json
7-
import random
8-
import string
97
import tempfile
108

119
from cutlass import SixteenSRawSeqSet
@@ -15,12 +13,6 @@
1513

1614
# pylint: disable=W0703, C1801
1715

18-
def rand_generator(size=6, chars=string.ascii_uppercase + string.digits):
19-
"""
20-
Generate a random string using alphanumeric characters. Default size is 6.
21-
"""
22-
return ''.join(random.choice(chars) for _ in range(size))
23-
2416
class SixteenSRawSeqSetTest(unittest.TestCase):
2517
""" A unit test class for the SixteenSRawSeqSet class. """
2618

tests/test_16s_trimmed_seq_set.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
import unittest
66
import json
7-
import random
8-
import string
97
import tempfile
108

119
from cutlass import SixteenSTrimmedSeqSet
@@ -15,12 +13,6 @@
1513

1614
# pylint: disable=W0703, C1801
1715

18-
def rand_generator(size=6, chars=string.ascii_uppercase + string.digits):
19-
"""
20-
Generate a random string using alphanumeric characters. Default size is 6.
21-
"""
22-
return ''.join(random.choice(chars) for _ in range(size))
23-
2416
class SixteenSTrimmedSeqSetTest(unittest.TestCase):
2517
""" A unit test class for the SixteenSTrimmedSeqSet class. """
2618

tests/test_wgs_assembled_seq_set.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
import unittest
66
import json
7-
import random
8-
import string
97
import tempfile
108

119
from cutlass import WgsAssembledSeqSet
@@ -15,12 +13,6 @@
1513

1614
# pylint: disable=W0703, C1801
1715

18-
def rand_generator(size=6, chars=string.ascii_uppercase + string.digits):
19-
"""
20-
Generate a random string using alphanumeric characters. Default size is 6.
21-
"""
22-
return ''.join(random.choice(chars) for _ in range(size))
23-
2416
class WgsAssembledSeqSetTest(unittest.TestCase):
2517
""" A unit test class for the WgsAssembledSeqSet class. """
2618

0 commit comments

Comments
 (0)