Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
RNA-seq
Manage
Activity
Members
Labels
Plan
Issues
12
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
GUDMAP_RBK
RNA-seq
Commits
d65d19ec
Commit
d65d19ec
authored
4 years ago
by
Gervaise Henry
Browse files
Options
Downloads
Patches
Plain Diff
Add unit test for outputBag
parent
49e3be49
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!39
v0.0.2
,
!38
Resolve "Add input bagit to ouput"
Pipeline
#7847
passed with stages
in 1 hour, 36 minutes, and 30 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+8
-2
8 additions, 2 deletions
.gitlab-ci.yml
workflow/tests/test_outputBag.py
+13
-0
13 additions, 0 deletions
workflow/tests/test_outputBag.py
with
21 additions
and
2 deletions
.gitlab-ci.yml
+
8
−
2
View file @
d65d19ec
...
...
@@ -130,6 +130,13 @@ dataQC:
echo "tin.py -i ./test_data/bam/small/Q-Y5F6_1M.se.sorted.deduped.${i}.bam -r /project/BICF/BICF_Core/shared/gudmap/references/GRCh38.p12.v31/bed/genome.bed; cat Q-Y5F6_1M.se.sorted.deduped.${i}.tin.xls | tr -s \"\\w\" \"\\t\" | grep -P \"\\t${i}\\t\";"; done | singularity run 'docker://bicf/rseqc3.0:2.0.1_indev' parallel -j 20 -k >> Q-Y5F6_1M.se.sorted.deduped.tin.xls
-
pytest -m dataQC
outputBag
:
stage
:
unit
script
:
-
mkdir test
-
singularity run 'docker://bicf/gudmaprbkfilexfer:2.0.1_indev' bdbag test --archiver zip
-
pytest -m outputBag
integration_se
:
stage
:
integration
...
...
@@ -181,5 +188,4 @@ consistency:
-
assignedPE.txt
-
assignedExpectSE.txt
-
assignedExpectPE.txt
expire_in
:
7 days
expire_in
:
7 days
\ No newline at end of file
This diff is collapsed.
Click to expand it.
workflow/tests/test_outputBag.py
0 → 100644
+
13
−
0
View file @
d65d19ec
#!/usr/bin/env python3
import
pytest
import
pandas
as
pd
from
io
import
StringIO
import
os
test_output_path
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
))
+
\
'
/../../
'
@pytest.mark.outputBag
def
test_outputBag
():
assert
os
.
path
.
exists
(
os
.
path
.
join
(
test_output_path
,
'
test.zip
'
))
This diff is collapsed.
Click to expand it.
Preview
0%
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