Skip to content

Commit

Permalink
Update test refs to lib
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulthran committed May 14, 2024
1 parent 3c07189 commit aa1595a
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 11 deletions.
2 changes: 0 additions & 2 deletions src/dnabc/main.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import argparse
from cmath import log
import gzip
import json
import os

from .writer import PairedFastqWriter
Expand Down
3 changes: 0 additions & 3 deletions src/dnabc/seqfile.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import itertools


# Factory function for SequenceFile classes
def SequenceFile(fwd, rev, fwd_idx=None, rev_idx=None):
if fwd_idx and rev_idx:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_assigner.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from collections import namedtuple, Counter
import unittest

from dnabclib.assigner import (
from src.dnabc.assigner import (
BarcodeAssigner,
deambiguate,
reverse_complement,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import tempfile
import unittest

from dnabclib.main import main
from src.dnabc.main import main


class FastqDemultiplexTests(unittest.TestCase):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_sample.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import unittest

from dnabclib.sample import (
from src.dnabc.sample import (
SampleBarcode,
load_sample_barcodes,
check_sample_names,
Expand Down
4 changes: 2 additions & 2 deletions tests/test_seqfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
import os.path
import unittest

from dnabclib.seqfile import (
from src.dnabc.seqfile import (
IndexFastqSequenceFile,
NoIndexFastqSequenceFile,
parse_fastq,
)
from dnabclib.assigner import BarcodeAssigner
from src.dnabc.assigner import BarcodeAssigner


class MockWriter(object):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import tempfile
import unittest

from dnabclib.writer import FastaWriter, FastqWriter, PairedFastqWriter
from src.dnabc.writer import FastaWriter, FastqWriter, PairedFastqWriter

MockFastaRead = namedtuple("Read", "desc seq")
MockFastqRead = namedtuple("Read", "desc seq qual")
Expand Down

0 comments on commit aa1595a

Please sign in to comment.