Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Read sequencer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
zavolan_group
tools
Read sequencer
Commits
b9889fb4
Commit
b9889fb4
authored
2 years ago
by
Michael Sandholzer
Browse files
Options
Downloads
Plain Diff
Merge branch 'test_functions' into 'main'
Test functions See merge request
!28
parents
c2a941a1
aae07c8e
Branches
Branches containing commit
No related tags found
1 merge request
!28
Test functions
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
requirements-dev.txt
+6
-0
6 additions, 0 deletions
requirements-dev.txt
tests/test_read_sequencer.py
+18
-0
18 additions, 0 deletions
tests/test_read_sequencer.py
with
24 additions
and
0 deletions
requirements-dev.txt
0 → 100644
+
6
−
0
View file @
b9889fb4
pytest
coverage
flake8
flake8-docstrings
mypy
pylint
\ No newline at end of file
This diff is collapsed.
Click to expand it.
tests/test_read_sequencer.py
+
18
−
0
View file @
b9889fb4
...
@@ -7,3 +7,21 @@ sequencer = ReadSequencer()
...
@@ -7,3 +7,21 @@ sequencer = ReadSequencer()
def
test_chunksize
():
def
test_chunksize
():
assert
sequencer
.
chunk_size
==
10000
assert
sequencer
.
chunk_size
==
10000
def
test_run_Input
():
assert
ReadSequencer
(
fasta
=
"
./tests/fasta_testfile/50_seqs_50_1000_bp.fasta
"
,
output
=
"
./tests/fasta_testfile/
"
,
read_length
=
1000
,
chunk_size
=
10000
,
)
def
test_run_Random
():
assert
ReadSequencer
(
output
=
"
./tests/fasta_testfile/
"
,
read_length
=
1000
,
chunk_size
=
10000
,
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment