Skip to content

Commit

Permalink
Deploying to gh-pages from @ 2e62868 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
gbayarri committed May 28, 2024
1 parent 30628d3 commit e7e254c
Show file tree
Hide file tree
Showing 58 changed files with 507 additions and 511 deletions.
102 changes: 51 additions & 51 deletions coverage/class_index.html

Large diffs are not rendered by default.

70 changes: 25 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="1716534021368" lines-valid="2510" lines-covered="1978" line-rate="0.788" 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="1716880607314" lines-valid="2490" lines-covered="1958" line-rate="0.7863" 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_analysis/biobb_analysis</source>
Expand All @@ -18,7 +18,7 @@
</class>
</classes>
</package>
<package name="biobb_analysis.ambertools" line-rate="0.794" branch-rate="0" complexity="0">
<package name="biobb_analysis.ambertools" line-rate="0.7919" branch-rate="0" complexity="0">
<classes>
<class name="__init__.py" filename="biobb_analysis/ambertools/__init__.py" complexity="0" line-rate="1" branch-rate="0">
<methods/>
Expand Down Expand Up @@ -251,10 +251,9 @@
<line number="476" hits="0"/>
</lines>
</class>
<class name="cpptraj_average.py" filename="biobb_analysis/ambertools/cpptraj_average.py" complexity="0" line-rate="0.8272" branch-rate="0">
<class name="cpptraj_average.py" filename="biobb_analysis/ambertools/cpptraj_average.py" complexity="0" line-rate="0.825" 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 @@ -337,10 +336,9 @@
<line number="212" hits="0"/>
</lines>
</class>
<class name="cpptraj_bfactor.py" filename="biobb_analysis/ambertools/cpptraj_bfactor.py" complexity="0" line-rate="0.8276" branch-rate="0">
<class name="cpptraj_bfactor.py" filename="biobb_analysis/ambertools/cpptraj_bfactor.py" complexity="0" line-rate="0.8256" 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 @@ -429,10 +427,9 @@
<line number="222" hits="0"/>
</lines>
</class>
<class name="cpptraj_convert.py" filename="biobb_analysis/ambertools/cpptraj_convert.py" complexity="0" line-rate="0.825" branch-rate="0">
<class name="cpptraj_convert.py" filename="biobb_analysis/ambertools/cpptraj_convert.py" complexity="0" line-rate="0.8228" 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 @@ -514,10 +511,9 @@
<line number="209" hits="0"/>
</lines>
</class>
<class name="cpptraj_dry.py" filename="biobb_analysis/ambertools/cpptraj_dry.py" complexity="0" line-rate="0.8333" branch-rate="0">
<class name="cpptraj_dry.py" filename="biobb_analysis/ambertools/cpptraj_dry.py" complexity="0" line-rate="0.8313" 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 @@ -603,10 +599,9 @@
<line number="215" hits="0"/>
</lines>
</class>
<class name="cpptraj_image.py" filename="biobb_analysis/ambertools/cpptraj_image.py" complexity="0" line-rate="0.8333" branch-rate="0">
<class name="cpptraj_image.py" filename="biobb_analysis/ambertools/cpptraj_image.py" complexity="0" line-rate="0.8313" 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 @@ -692,10 +687,9 @@
<line number="215" hits="0"/>
</lines>
</class>
<class name="cpptraj_input.py" filename="biobb_analysis/ambertools/cpptraj_input.py" complexity="0" line-rate="0.7925" branch-rate="0">
<class name="cpptraj_input.py" filename="biobb_analysis/ambertools/cpptraj_input.py" complexity="0" line-rate="0.7885" 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 @@ -750,10 +744,9 @@
<line number="129" hits="0"/>
</lines>
</class>
<class name="cpptraj_mask.py" filename="biobb_analysis/ambertools/cpptraj_mask.py" complexity="0" line-rate="0.8118" branch-rate="0">
<class name="cpptraj_mask.py" filename="biobb_analysis/ambertools/cpptraj_mask.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 @@ -840,10 +833,9 @@
<line number="214" hits="0"/>
</lines>
</class>
<class name="cpptraj_rgyr.py" filename="biobb_analysis/ambertools/cpptraj_rgyr.py" complexity="0" line-rate="0.8205" branch-rate="0">
<class name="cpptraj_rgyr.py" filename="biobb_analysis/ambertools/cpptraj_rgyr.py" complexity="0" line-rate="0.8182" 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 @@ -923,10 +915,9 @@
<line number="207" hits="0"/>
</lines>
</class>
<class name="cpptraj_rms.py" filename="biobb_analysis/ambertools/cpptraj_rms.py" complexity="0" line-rate="0.8298" branch-rate="0">
<class name="cpptraj_rms.py" filename="biobb_analysis/ambertools/cpptraj_rms.py" complexity="0" line-rate="0.828" 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 @@ -1022,10 +1013,9 @@
<line number="239" hits="0"/>
</lines>
</class>
<class name="cpptraj_rmsf.py" filename="biobb_analysis/ambertools/cpptraj_rmsf.py" complexity="0" line-rate="0.8276" branch-rate="0">
<class name="cpptraj_rmsf.py" filename="biobb_analysis/ambertools/cpptraj_rmsf.py" complexity="0" line-rate="0.8256" 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 @@ -1114,10 +1104,9 @@
<line number="222" hits="0"/>
</lines>
</class>
<class name="cpptraj_slice.py" filename="biobb_analysis/ambertools/cpptraj_slice.py" complexity="0" line-rate="0.825" branch-rate="0">
<class name="cpptraj_slice.py" filename="biobb_analysis/ambertools/cpptraj_slice.py" complexity="0" line-rate="0.8228" 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 @@ -1199,10 +1188,9 @@
<line number="209" hits="0"/>
</lines>
</class>
<class name="cpptraj_snapshot.py" filename="biobb_analysis/ambertools/cpptraj_snapshot.py" complexity="0" line-rate="0.8205" branch-rate="0">
<class name="cpptraj_snapshot.py" filename="biobb_analysis/ambertools/cpptraj_snapshot.py" complexity="0" line-rate="0.8182" 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 @@ -1282,10 +1270,9 @@
<line number="203" hits="0"/>
</lines>
</class>
<class name="cpptraj_strip.py" filename="biobb_analysis/ambertools/cpptraj_strip.py" complexity="0" line-rate="0.8118" branch-rate="0">
<class name="cpptraj_strip.py" filename="biobb_analysis/ambertools/cpptraj_strip.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 @@ -1374,7 +1361,7 @@
</class>
</classes>
</package>
<package name="biobb_analysis.gromacs" line-rate="0.7058" branch-rate="0" complexity="0">
<package name="biobb_analysis.gromacs" line-rate="0.7035" branch-rate="0" complexity="0">
<classes>
<class name="__init__.py" filename="biobb_analysis/gromacs/__init__.py" complexity="0" line-rate="1" branch-rate="0">
<methods/>
Expand Down Expand Up @@ -1691,10 +1678,9 @@
<line number="479" hits="1"/>
</lines>
</class>
<class name="gmx_cluster.py" filename="biobb_analysis/gromacs/gmx_cluster.py" complexity="0" line-rate="0.7674" branch-rate="0">
<class name="gmx_cluster.py" filename="biobb_analysis/gromacs/gmx_cluster.py" complexity="0" line-rate="0.7647" 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 @@ -1782,10 +1768,9 @@
<line number="229" hits="0"/>
</lines>
</class>
<class name="gmx_energy.py" filename="biobb_analysis/gromacs/gmx_energy.py" complexity="0" line-rate="0.8088" branch-rate="0">
<class name="gmx_energy.py" filename="biobb_analysis/gromacs/gmx_energy.py" complexity="0" line-rate="0.806" 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 @@ -1855,10 +1840,9 @@
<line number="185" hits="0"/>
</lines>
</class>
<class name="gmx_image.py" filename="biobb_analysis/gromacs/gmx_image.py" complexity="0" line-rate="0.6771" branch-rate="0">
<class name="gmx_image.py" filename="biobb_analysis/gromacs/gmx_image.py" complexity="0" line-rate="0.6737" 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 @@ -1956,10 +1940,9 @@
<line number="230" hits="0"/>
</lines>
</class>
<class name="gmx_rgyr.py" filename="biobb_analysis/gromacs/gmx_rgyr.py" complexity="0" line-rate="0.7742" branch-rate="0">
<class name="gmx_rgyr.py" filename="biobb_analysis/gromacs/gmx_rgyr.py" complexity="0" line-rate="0.7705" 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 @@ -2023,10 +2006,9 @@
<line number="180" hits="0"/>
</lines>
</class>
<class name="gmx_rms.py" filename="biobb_analysis/gromacs/gmx_rms.py" complexity="0" line-rate="0.7742" branch-rate="0">
<class name="gmx_rms.py" filename="biobb_analysis/gromacs/gmx_rms.py" complexity="0" line-rate="0.7705" 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 @@ -2090,10 +2072,9 @@
<line number="180" hits="0"/>
</lines>
</class>
<class name="gmx_trjconv_str.py" filename="biobb_analysis/gromacs/gmx_trjconv_str.py" complexity="0" line-rate="0.726" branch-rate="0">
<class name="gmx_trjconv_str.py" filename="biobb_analysis/gromacs/gmx_trjconv_str.py" complexity="0" line-rate="0.7222" branch-rate="0">
<methods/>
<lines>
<line number="5" hits="1"/>
<line number="6" hits="1"/>
<line number="7" hits="1"/>
<line number="8" hits="1"/>
Expand Down Expand Up @@ -2168,10 +2149,9 @@
<line number="194" hits="0"/>
</lines>
</class>
<class name="gmx_trjconv_str_ens.py" filename="biobb_analysis/gromacs/gmx_trjconv_str_ens.py" complexity="0" line-rate="0.8025" branch-rate="0">
<class name="gmx_trjconv_str_ens.py" filename="biobb_analysis/gromacs/gmx_trjconv_str_ens.py" complexity="0" line-rate="0.8" 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 @@ -2257,7 +2237,6 @@
<class name="gmx_trjconv_trj.py" filename="biobb_analysis/gromacs/gmx_trjconv_trj.py" complexity="0" line-rate="0.7179" 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 @@ -2286,6 +2265,7 @@
<line number="98" hits="1"/>
<line number="99" hits="0"/>
<line number="100" hits="1"/>
<line number="101" hits="1"/>
<line number="105" hits="1"/>
<line number="106" hits="0"/>
<line number="107" 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 e7e254c

Please sign in to comment.