Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
chipseq_analysis
Manage
Activity
Members
Labels
Plan
Issues
19
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
BICF
Astrocyte
chipseq_analysis
Merge requests
!65
Changed singularity container to allow for rendering of references.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Changed singularity container to allow for rendering of references.
66-software_references
into
master
Overview
0
Commits
3
Pipelines
3
Changes
3
Merged
Venkat Malladi
requested to merge
66-software_references
into
master
5 years ago
Overview
0
Commits
3
Pipelines
3
Changes
3
Expand
PR checklist
This comment contains a description of changes (with reason)
If you've fixed a bug or added code that should be tested, add tests!
CHANGELOG.md
is updated
Closes
#66 (closed)
Edited
5 years ago
by
Holly Ruess
0
0
Merge request reports
Compare
master
version 2
05ae565f
5 years ago
version 1
7a76914b
5 years ago
master (base)
and
latest version
latest version
b2a2fa7a
3 commits,
5 years ago
version 2
05ae565f
2 commits,
5 years ago
version 1
7a76914b
1 commit,
5 years ago
3 files
+
15
−
2
Expand all files
Preferences
File browser
List view
Tree view
Compare changes
Inline
Side-by-side
Show whitespace changes
Show one file at a time
Search (e.g. *.vue) (Ctrl+P)
workflow/tests/test_generate_software_references.py
+
12
−
0
Options
@@ -4,6 +4,7 @@ import pytest
import
os
import
utils
import
yaml
from
bs4
import
BeautifulSoup
test_output_path
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
))
+
\
'
/../output/multiqcReport/
'
@@ -21,3 +22,14 @@ def test_software_references_output():
data_loaded
=
yaml
.
load
(
stream
)
assert
len
(
data_loaded
[
'
data
'
].
split
(
'
<ul>
'
))
==
19
@pytest.mark.singleend
def
test_software_references_html
():
multiqc_report
=
os
.
path
.
join
(
test_output_path
,
'
multiqc_report.html
'
)
html_file
=
open
(
multiqc_report
,
'
r
'
)
source_code
=
html_file
.
read
()
multiqc_html
=
BeautifulSoup
(
source_code
,
'
html.parser
'
)
references
=
multiqc_html
.
find
(
id
=
"
mqc-module-section-Software_References
"
)
assert
references
is
not
None
assert
len
(
references
.
find_all
(
'
ul
'
))
==
18