Skip to content

Commit

Permalink
fixing the download of a single QeAppWorkChain (#915)
Browse files Browse the repository at this point in the history
* This fixes #914

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
mikibonacci and pre-commit-ci[bot] authored Nov 6, 2024
1 parent d4da2d4 commit 2924582
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/aiidalab_qe/app/result/utils/download_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,13 @@ def produce_bitestream(node, what="archive"):
from aiida.tools.archive.create import create_archive

path = pathlib.Path(dirpath) / "archive.aiida"
create_archive(entities=[reloaded_node], filename=path)
create_archive(
entities=[reloaded_node],
filename=path,
call_calc_backward=False,
call_work_backward=False,
create_backward=False,
)
with open(path, "rb") as f:
zip_data = f.read()

Expand Down

0 comments on commit 2924582

Please sign in to comment.