Skip to content

Commit

Permalink
Deploying to gh-pages from @ 68744b1 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
gbayarri committed May 27, 2024
1 parent faa296d commit 3c07539
Show file tree
Hide file tree
Showing 50 changed files with 441 additions and 443 deletions.
88 changes: 44 additions & 44 deletions coverage/class_index.html

Large diffs are not rendered by default.

72 changes: 27 additions & 45 deletions coverage/coverage.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" ?>
<coverage version="7.5.1" timestamp="1716543340076" lines-valid="2204" lines-covered="1764" line-rate="0.8004" branches-covered="0" branches-valid="0" branch-rate="0" complexity="0">
<!-- Generated by coverage.py: https://coverage.readthedocs.io/en/7.5.1 -->
<coverage version="7.5.2" timestamp="1716808511166" lines-valid="2186" lines-covered="1746" line-rate="0.7987" branches-covered="0" branches-valid="0" branch-rate="0" complexity="0">
<!-- Generated by coverage.py: https://coverage.readthedocs.io/en/7.5.2 -->
<!-- Based on https://raw.githubusercontent.com/cobertura/web/master/htdocs/xml/coverage-04.dtd -->
<sources>
<source>/home/user/actions-runner/_work/biobb_dna/biobb_dna</source>
Expand All @@ -18,7 +18,7 @@
</class>
</classes>
</package>
<package name="biobb_dna.backbone" line-rate="0.8061" branch-rate="0" complexity="0">
<package name="biobb_dna.backbone" line-rate="0.8043" branch-rate="0" complexity="0">
<classes>
<class name="__init__.py" filename="biobb_dna/backbone/__init__.py" complexity="0" line-rate="1" branch-rate="0">
<methods/>
Expand All @@ -27,10 +27,9 @@
<line number="2" hits="1"/>
</lines>
</class>
<class name="bipopulations.py" filename="biobb_dna/backbone/bipopulations.py" complexity="0" line-rate="0.7905" branch-rate="0">
<class name="bipopulations.py" filename="biobb_dna/backbone/bipopulations.py" complexity="0" line-rate="0.7885" branch-rate="0">
<methods/>
<lines>
<line number="2" hits="1"/>
<line number="4" hits="1"/>
<line number="5" hits="1"/>
<line number="7" hits="1"/>
Expand Down Expand Up @@ -137,10 +136,9 @@
<line number="294" hits="0"/>
</lines>
</class>
<class name="canonicalag.py" filename="biobb_dna/backbone/canonicalag.py" complexity="0" line-rate="0.8087" branch-rate="0">
<class name="canonicalag.py" filename="biobb_dna/backbone/canonicalag.py" complexity="0" line-rate="0.807" branch-rate="0">
<methods/>
<lines>
<line number="2" hits="1"/>
<line number="4" hits="1"/>
<line number="5" hits="1"/>
<line number="7" hits="1"/>
Expand Down Expand Up @@ -257,10 +255,9 @@
<line number="303" hits="0"/>
</lines>
</class>
<class name="puckering.py" filename="biobb_dna/backbone/puckering.py" complexity="0" line-rate="0.8148" branch-rate="0">
<class name="puckering.py" filename="biobb_dna/backbone/puckering.py" complexity="0" line-rate="0.8131" branch-rate="0">
<methods/>
<lines>
<line number="2" hits="1"/>
<line number="4" hits="1"/>
<line number="5" hits="1"/>
<line number="7" hits="1"/>
Expand Down Expand Up @@ -372,7 +369,7 @@
</class>
</classes>
</package>
<package name="biobb_dna.curvesplus" line-rate="0.7701" branch-rate="0" complexity="0">
<package name="biobb_dna.curvesplus" line-rate="0.7675" branch-rate="0" complexity="0">
<classes>
<class name="__init__.py" filename="biobb_dna/curvesplus/__init__.py" complexity="0" line-rate="1" branch-rate="0">
<methods/>
Expand All @@ -381,10 +378,9 @@
<line number="2" hits="1"/>
</lines>
</class>
<class name="biobb_canal.py" filename="biobb_dna/curvesplus/biobb_canal.py" complexity="0" line-rate="0.7273" branch-rate="0">
<class name="biobb_canal.py" filename="biobb_dna/curvesplus/biobb_canal.py" complexity="0" line-rate="0.7241" branch-rate="0">
<methods/>
<lines>
<line number="3" hits="1"/>
<line number="4" hits="1"/>
<line number="5" hits="1"/>
<line number="6" hits="1"/>
Expand Down Expand Up @@ -474,10 +470,9 @@
<line number="247" hits="0"/>
</lines>
</class>
<class name="biobb_canion.py" filename="biobb_dna/curvesplus/biobb_canion.py" complexity="0" line-rate="0.8118" branch-rate="0">
<class name="biobb_canion.py" filename="biobb_dna/curvesplus/biobb_canion.py" complexity="0" line-rate="0.8095" branch-rate="0">
<methods/>
<lines>
<line number="3" hits="1"/>
<line number="4" hits="1"/>
<line number="5" hits="1"/>
<line number="6" hits="1"/>
Expand Down Expand Up @@ -564,10 +559,9 @@
<line number="251" hits="0"/>
</lines>
</class>
<class name="biobb_curves.py" filename="biobb_dna/curvesplus/biobb_curves.py" complexity="0" line-rate="0.7677" branch-rate="0">
<class name="biobb_curves.py" filename="biobb_dna/curvesplus/biobb_curves.py" complexity="0" line-rate="0.7653" branch-rate="0">
<methods/>
<lines>
<line number="3" hits="1"/>
<line number="4" hits="1"/>
<line number="5" hits="1"/>
<line number="6" hits="1"/>
Expand Down Expand Up @@ -670,7 +664,7 @@
</class>
</classes>
</package>
<package name="biobb_dna.dna" line-rate="0.7384" branch-rate="0" complexity="0">
<package name="biobb_dna.dna" line-rate="0.7363" branch-rate="0" complexity="0">
<classes>
<class name="__init__.py" filename="biobb_dna/dna/__init__.py" complexity="0" line-rate="1" branch-rate="0">
<methods/>
Expand All @@ -679,10 +673,9 @@
<line number="2" hits="1"/>
</lines>
</class>
<class name="dna_averages.py" filename="biobb_dna/dna/dna_averages.py" complexity="0" line-rate="0.7423" branch-rate="0">
<class name="dna_averages.py" filename="biobb_dna/dna/dna_averages.py" complexity="0" line-rate="0.7396" branch-rate="0">
<methods/>
<lines>
<line number="3" hits="1"/>
<line number="4" hits="1"/>
<line number="5" hits="1"/>
<line number="6" hits="1"/>
Expand Down Expand Up @@ -781,10 +774,9 @@
<line number="260" hits="0"/>
</lines>
</class>
<class name="dna_bimodality.py" filename="biobb_dna/dna/dna_bimodality.py" complexity="0" line-rate="0.6899" branch-rate="0">
<class name="dna_bimodality.py" filename="biobb_dna/dna/dna_bimodality.py" complexity="0" line-rate="0.6879" branch-rate="0">
<methods/>
<lines>
<line number="3" hits="1"/>
<line number="4" hits="1"/>
<line number="5" hits="1"/>
<line number="6" hits="1"/>
Expand Down Expand Up @@ -944,10 +936,9 @@
<line number="346" hits="0"/>
</lines>
</class>
<class name="dna_timeseries.py" filename="biobb_dna/dna/dna_timeseries.py" complexity="0" line-rate="0.8" branch-rate="0">
<class name="dna_timeseries.py" filename="biobb_dna/dna/dna_timeseries.py" complexity="0" line-rate="0.7982" branch-rate="0">
<methods/>
<lines>
<line number="3" hits="1"/>
<line number="4" hits="1"/>
<line number="5" hits="1"/>
<line number="6" hits="1"/>
Expand Down Expand Up @@ -1061,7 +1052,7 @@
</class>
</classes>
</package>
<package name="biobb_dna.interbp_correlations" line-rate="0.8037" branch-rate="0" complexity="0">
<package name="biobb_dna.interbp_correlations" line-rate="0.8021" branch-rate="0" complexity="0">
<classes>
<class name="__init__.py" filename="biobb_dna/interbp_correlations/__init__.py" complexity="0" line-rate="1" branch-rate="0">
<methods/>
Expand All @@ -1070,10 +1061,9 @@
<line number="2" hits="1"/>
</lines>
</class>
<class name="interbpcorr.py" filename="biobb_dna/interbp_correlations/interbpcorr.py" complexity="0" line-rate="0.8472" branch-rate="0">
<class name="interbpcorr.py" filename="biobb_dna/interbp_correlations/interbpcorr.py" complexity="0" line-rate="0.8462" branch-rate="0">
<methods/>
<lines>
<line number="3" hits="1"/>
<line number="4" hits="1"/>
<line number="5" hits="1"/>
<line number="7" hits="1"/>
Expand Down Expand Up @@ -1219,10 +1209,9 @@
<line number="332" hits="0"/>
</lines>
</class>
<class name="interhpcorr.py" filename="biobb_dna/interbp_correlations/interhpcorr.py" complexity="0" line-rate="0.8148" branch-rate="0">
<class name="interhpcorr.py" filename="biobb_dna/interbp_correlations/interhpcorr.py" complexity="0" line-rate="0.8134" branch-rate="0">
<methods/>
<lines>
<line number="3" hits="1"/>
<line number="4" hits="1"/>
<line number="6" hits="1"/>
<line number="7" hits="1"/>
Expand Down Expand Up @@ -1359,10 +1348,9 @@
<line number="323" hits="0"/>
</lines>
</class>
<class name="interseqcorr.py" filename="biobb_dna/interbp_correlations/interseqcorr.py" complexity="0" line-rate="0.7188" branch-rate="0">
<class name="interseqcorr.py" filename="biobb_dna/interbp_correlations/interseqcorr.py" complexity="0" line-rate="0.7158" branch-rate="0">
<methods/>
<lines>
<line number="3" hits="1"/>
<line number="4" hits="1"/>
<line number="5" hits="1"/>
<line number="7" hits="1"/>
Expand Down Expand Up @@ -1462,7 +1450,7 @@
</class>
</classes>
</package>
<package name="biobb_dna.intrabp_correlations" line-rate="0.8037" branch-rate="0" complexity="0">
<package name="biobb_dna.intrabp_correlations" line-rate="0.8021" branch-rate="0" complexity="0">
<classes>
<class name="__init__.py" filename="biobb_dna/intrabp_correlations/__init__.py" complexity="0" line-rate="1" branch-rate="0">
<methods/>
Expand All @@ -1471,10 +1459,9 @@
<line number="2" hits="1"/>
</lines>
</class>
<class name="intrabpcorr.py" filename="biobb_dna/intrabp_correlations/intrabpcorr.py" complexity="0" line-rate="0.8472" branch-rate="0">
<class name="intrabpcorr.py" filename="biobb_dna/intrabp_correlations/intrabpcorr.py" complexity="0" line-rate="0.8462" branch-rate="0">
<methods/>
<lines>
<line number="3" hits="1"/>
<line number="4" hits="1"/>
<line number="5" hits="1"/>
<line number="7" hits="1"/>
Expand Down Expand Up @@ -1620,10 +1607,9 @@
<line number="332" hits="0"/>
</lines>
</class>
<class name="intrahpcorr.py" filename="biobb_dna/intrabp_correlations/intrahpcorr.py" complexity="0" line-rate="0.8148" branch-rate="0">
<class name="intrahpcorr.py" filename="biobb_dna/intrabp_correlations/intrahpcorr.py" complexity="0" line-rate="0.8134" branch-rate="0">
<methods/>
<lines>
<line number="3" hits="1"/>
<line number="4" hits="1"/>
<line number="6" hits="1"/>
<line number="7" hits="1"/>
Expand Down Expand Up @@ -1760,10 +1746,9 @@
<line number="329" hits="0"/>
</lines>
</class>
<class name="intraseqcorr.py" filename="biobb_dna/intrabp_correlations/intraseqcorr.py" complexity="0" line-rate="0.7188" branch-rate="0">
<class name="intraseqcorr.py" filename="biobb_dna/intrabp_correlations/intraseqcorr.py" complexity="0" line-rate="0.7158" branch-rate="0">
<methods/>
<lines>
<line number="3" hits="1"/>
<line number="4" hits="1"/>
<line number="5" hits="1"/>
<line number="7" hits="1"/>
Expand Down Expand Up @@ -1863,7 +1848,7 @@
</class>
</classes>
</package>
<package name="biobb_dna.stiffness" line-rate="0.7709" branch-rate="0" complexity="0">
<package name="biobb_dna.stiffness" line-rate="0.7684" branch-rate="0" complexity="0">
<classes>
<class name="__init__.py" filename="biobb_dna/stiffness/__init__.py" complexity="0" line-rate="1" branch-rate="0">
<methods/>
Expand All @@ -1872,10 +1857,9 @@
<line number="2" hits="1"/>
</lines>
</class>
<class name="average_stiffness.py" filename="biobb_dna/stiffness/average_stiffness.py" complexity="0" line-rate="0.7447" branch-rate="0">
<class name="average_stiffness.py" filename="biobb_dna/stiffness/average_stiffness.py" complexity="0" line-rate="0.7419" branch-rate="0">
<methods/>
<lines>
<line number="2" hits="1"/>
<line number="4" hits="1"/>
<line number="5" hits="1"/>
<line number="6" hits="1"/>
Expand Down Expand Up @@ -1971,10 +1955,9 @@
<line number="243" hits="0"/>
</lines>
</class>
<class name="basepair_stiffness.py" filename="biobb_dna/stiffness/basepair_stiffness.py" complexity="0" line-rate="0.7952" branch-rate="0">
<class name="basepair_stiffness.py" filename="biobb_dna/stiffness/basepair_stiffness.py" complexity="0" line-rate="0.7927" branch-rate="0">
<methods/>
<lines>
<line number="3" hits="1"/>
<line number="4" hits="1"/>
<line number="5" hits="1"/>
<line number="7" hits="1"/>
Expand Down Expand Up @@ -2402,7 +2385,7 @@
</class>
</classes>
</package>
<package name="biobb_dna.utils" line-rate="0.7179" branch-rate="0" complexity="0">
<package name="biobb_dna.utils" line-rate="0.7105" branch-rate="0" complexity="0">
<classes>
<class name="__init__.py" filename="biobb_dna/utils/__init__.py" complexity="0" line-rate="1" branch-rate="0">
<methods/>
Expand All @@ -2419,10 +2402,9 @@
<line number="73" hits="1"/>
</lines>
</class>
<class name="loader.py" filename="biobb_dna/utils/loader.py" complexity="0" line-rate="0.6296" branch-rate="0">
<class name="loader.py" filename="biobb_dna/utils/loader.py" complexity="0" line-rate="0.6154" branch-rate="0">
<methods/>
<lines>
<line number="3" hits="1"/>
<line number="4" hits="1"/>
<line number="5" hits="1"/>
<line number="7" hits="1"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,16 @@ coverage.assign_shortkeys = function () {

// Create the events for the filter box.
coverage.wire_up_filter = function () {
// Populate the filter and hide100 inputs if there are saved values for them.
const saved_filter_value = localStorage.getItem(coverage.FILTER_STORAGE);
if (saved_filter_value) {
document.getElementById("filter").value = saved_filter_value;
}
const saved_hide100_value = localStorage.getItem(coverage.HIDE100_STORAGE);
if (saved_hide100_value) {
document.getElementById("hide100").checked = JSON.parse(saved_hide100_value);
}

// Cache elements.
const table = document.querySelector("table.index");
const table_body_rows = table.querySelectorAll("tbody tr");
Expand All @@ -138,8 +148,12 @@ coverage.wire_up_filter = function () {
totals[totals.length - 1] = { "numer": 0, "denom": 0 }; // nosemgrep: eslint.detect-object-injection

var text = document.getElementById("filter").value;
// Store filter value
localStorage.setItem(coverage.FILTER_STORAGE, text);
const casefold = (text === text.toLowerCase());
const hide100 = document.getElementById("hide100").checked;
// Store hide value.
localStorage.setItem(coverage.HIDE100_STORAGE, JSON.stringify(hide100));

// Hide / show elements.
table_body_rows.forEach(row => {
Expand Down Expand Up @@ -240,6 +254,8 @@ coverage.wire_up_filter = function () {
document.getElementById("filter").dispatchEvent(new Event("input"));
document.getElementById("hide100").dispatchEvent(new Event("input"));
};
coverage.FILTER_STORAGE = "COVERAGE_FILTER_VALUE";
coverage.HIDE100_STORAGE = "COVERAGE_HIDE100_VALUE";

// Set up the click-to-sort columns.
coverage.wire_up_sorting = function () {
Expand Down
2 changes: 1 addition & 1 deletion coverage/coveragebadge.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 3c07539

Please sign in to comment.