Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove redundant information from output report #40

Merged
merged 1 commit into from
Oct 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -142,61 +142,11 @@ <h4>Workflow execution completed unsuccessfully!</h4>
(<span id="completed_fromnow"></span>duration: <strong>${workflow.duration}</strong>)
</dd>

<dl>
<div class="progress" style="height: 1.6rem; margin: 1.2rem auto; border-radius: 0.20rem;">
<div style="width: ${workflow.stats.succeedPct}%" class="progress-bar bg-success" data-toggle="tooltip" data-placement="top" title="$workflow.stats.succeedCount tasks succeeded"><span class="text-truncate">&nbsp; $workflow.stats.succeedCount succeeded &nbsp;</span></div>
<div style="width: ${workflow.stats.cachedPct}%" class="progress-bar bg-secondary" data-toggle="tooltip" data-placement="top" title="$workflow.stats.cachedCount tasks were cached"><span class="text-truncate">&nbsp; $workflow.stats.cachedCount cached &nbsp;</span></div>
<div style="width: ${workflow.stats.ignoredPct}%" class="progress-bar bg-warning" data-toggle="tooltip" data-placement="top" title="$workflow.stats.ignoredCount tasks reported and error and were ignored"><span class="text-truncate">&nbsp; $workflow.stats.ignoredCount ignored &nbsp;</span></div>
<div style="width: ${workflow.stats.failedPct}%" class="progress-bar bg-danger" data-toggle="tooltip" data-placement="top" title="$workflow.stats.failedCount tasks failed"><span class="text-truncate">&nbsp; $workflow.stats.failedCount failed &nbsp;</span></div>
</div>
</dl>

<dt>Nextflow command</dt>
<dd><pre class="nfcommand"><code>${workflow.commandLine}</code></pre></dd>
</dl>

<dl class="row small">
<dt class="col-sm-3">CPU-Hours</dt>
<dd class="col-sm-9"><samp>${workflow.stats.computeTimeFmt}</samp></dd>

<dt class="col-sm-3">Launch directory</dt>
<dd class="col-sm-9"><samp>${workflow.launchDir}</samp></dd>

<dt class="col-sm-3">Work directory</dt>
<dd class="col-sm-9"><samp>${workflow.workDir.toUriString()}</samp></dd>

<dt class="col-sm-3">Project directory</dt>
<dd class="col-sm-9"><samp>${workflow.projectDir}</samp></dd>

<% if (workflow.scriptName) { %>
<dt class="col-sm-3">Script name</dt>
<dd class="col-sm-9"><samp>${workflow.scriptName}</samp></dd>
<% } %>

<% if (workflow.scriptId) { %>
<dt class="col-sm-3">Script ID</dt>
<dd class="col-sm-9"><code>${workflow.scriptId}</code></dd>
<% } %>

<dt class="col-sm-3">Workflow session</dt>
<dd class="col-sm-9"><code>${workflow.sessionId}</code></dd>

<% if (workflow.repository) { %>
<dt class="col-sm-3">Workflow repository</dt>
<dd class="col-sm-9"><code>${workflow.repository}</code>, revision <code>${workflow.revision}</code> (commit hash <code>${workflow.commitId}</code>)</dd>
<% } %>

<dt class="col-sm-3">Workflow profile</dt>
<dd class="col-sm-9">${workflow.profile}</dd>

<% if (workflow.container) { %>
<dt class="col-sm-3">Workflow container</dt>
<dd class="col-sm-9"><samp>${workflow.container}</samp></dd>

<dt class="col-sm-3">Container engine</dt>
<dd class="col-sm-9"><samp>${workflow.containerEngine?:'-'}</samp></dd>
<% } %>

<dt class="col-sm-3">Nextflow version</dt>
<dd class="col-sm-9">version ${workflow.nextflow.version}, build ${workflow.nextflow.build} (${workflow.nextflow.timestamp})</dd>
</dl>
Expand Down Expand Up @@ -230,11 +180,13 @@ <h4>Workflow execution completed unsuccessfully!</h4>
<% } %>
</dl>

<dl class="row small">
<p>The calculation of these values is based on the carbon footprint computation method
developed in the Green Algorithms project: www.green-algorithms.org</p>
<p>Lannelongue, L., Grealey, J., Inouye, M.,
Green Algorithms: Quantifying the Carbon Footprint of Computation.
Adv. Sci. 2021, 2100707. https://doi.org/10.1002/advs.202100707</p>
</dl>
</div>
</div>

Expand Down
Loading