Skip to content
Snippets Groups Projects
Commit 8c9a14f2 authored by U-STI\morika's avatar U-STI\morika Committed by Kathleen Moriarty
Browse files

test for issue 7

parent e3aeefd5
Branches
No related tags found
1 merge request!17Issue 7
"""Test Issue 7."""
import pandas as pd
from src.read_sequencing import read_sequencing
def test_read_sequencing(tmpdir):
"""Tests the output, input file name and separator."""
read_sequencing(
frag_file_name='./tests/resources/test_terminal_fragments.txt',
num_reads=80,
read_len=10,
num_seq_cyc=5,
output_file_name=tmpdir / 'reads.txt'
)
df_out = pd.read_table(tmpdir / 'reads.txt', header=None)
assert df_out.shape[0] == 80 * 5
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment