Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
BICF
Astrocyte
chipseq_analysis
Commits
4dae1632
Commit
4dae1632
authored
Feb 29, 2020
by
Venkat Malladi
Browse files
Update testing to check 1 value.
parent
f8e5fa23
Pipeline
#6192
failed with stages
in 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
workflow/tests/test_pool_and_psuedoreplicate.py
View file @
4dae1632
...
...
@@ -74,8 +74,8 @@ def test_single_rep(design_experiment_2):
shutil
.
copy
(
test_design_path
+
'B_1.tagAlign.gz'
,
cwd
)
single_rep
=
pool_and_psuedoreplicate
.
generate_design
(
'false'
,
1.2
,
design_experiment_2
,
cwd
,
1
,
1
)
assert
single_rep
.
shape
[
0
]
==
4
assert
len
(
single_rep
[
'control_tag_align'
].
unique
())
==
1
assert
'pool_control.tagAlign.gz'
in
single_rep
[
'control_tag_align'
].
unique
()[
0
]
assert
len
(
single_rep
[
'control_tag_align'
].
unique
())
==
2
assert
'pool_control.tagAlign.gz'
in
single_rep
[
'control_tag_align'
].
unique
()[
1
]
@
pytest
.
mark
.
unit
...
...
@@ -85,7 +85,7 @@ def test_single_control(design_experiment_3):
shutil
.
copy
(
test_design_path
+
'B_1.bedpe.gz'
,
cwd
)
shutil
.
copy
(
test_design_path
+
'A_1.tagAlign.gz'
,
cwd
)
single_control
=
pool_and_psuedoreplicate
.
generate_design
(
'true'
,
1.2
,
design_experiment_3
,
cwd
,
1
,
1
)
assert
'
pool_control
.tagAlign.gz'
in
single_control
[
'control_tag_align'
].
unique
()[
0
]
assert
'
B_1
.tagAlign.gz'
in
single_control
[
'control_tag_align'
].
unique
()[
1
]
@
pytest
.
mark
.
singleend
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment