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

Feature/adv tot charge #402

Merged
merged 19 commits into from
May 31, 2023
Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
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
2 changes: 2 additions & 0 deletions aiidalab_qe/app/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ def _generate_report_dict(builder_parameters: dict):
yield "degauss", builder_parameters["degauss"]
yield "smearing", builder_parameters["smearing"]

yield "tot_charge", builder_parameters.get("tot_charge", None)
AndresOrtegaGuerrero marked this conversation as resolved.
Show resolved Hide resolved


def _generate_report_html(report):
"""Read from the bulider parameters and generate a html for reporting
Expand Down
4 changes: 4 additions & 0 deletions aiidalab_qe/app/static/workflow_summary.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@
<td>{{ nscf_kpoints_distance }} &#8491;<sup>-1</sup></td>
</tr>
{% endif %}
<tr>
<td>Total Charge</td>
<td>{{ tot_charge }}</td>
</tr>
</table>
</div>
</div>
Expand Down
Loading