Skip to content

Commit

Permalink
Rework base parser test to water
Browse files Browse the repository at this point in the history
  • Loading branch information
kmlefran committed Jan 23, 2024
1 parent 8e42df2 commit 716c80c
Show file tree
Hide file tree
Showing 18 changed files with 375,840 additions and 1,062 deletions.
3 changes: 1 addition & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ def _generate_calc_job_node( # pylint:disable=too-many-arguments
if test_name is not None:
basepath = os.path.dirname(os.path.abspath(__file__))
filename = os.path.join(entry_point_name, test_name)
print(filename)
filepath_folder = os.path.join(basepath, "parsers", "fixtures", filename)
filepath_input = os.path.join(filepath_folder, "aiida.in")

Expand Down Expand Up @@ -226,7 +225,7 @@ def _generate_calc_job_node( # pylint:disable=too-many-arguments
if filepath_folder:
retrieved = orm.FolderData()
retrieved.base.repository.put_object_from_tree(filepath_folder)

print(retrieved.list_object_names())
# Remove files that are supposed to be only present in the retrieved temporary folder
if retrieve_temporary:
for filename in filenames:
Expand Down
725 changes: 484 additions & 241 deletions tests/parsers/fixtures/aimall.aimqb/default/aiida.sum

Large diffs are not rendered by default.

This file was deleted.

492 changes: 0 additions & 492 deletions tests/parsers/fixtures/aimall.aimqb/default/aiida_atomicfiles/h1.int

This file was deleted.

1,461 changes: 1,461 additions & 0 deletions tests/parsers/fixtures/aimall.aimqb/default/aiida_atomicfiles/h2.agpviz

Large diffs are not rendered by default.

91,500 changes: 91,500 additions & 0 deletions tests/parsers/fixtures/aimall.aimqb/default/aiida_atomicfiles/h2.iasviz

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ H2
Auto
Critical Point Data
1 0 0
4.25140469099550E-17 0.00000000000000E+00 1.56271704054169E-17 H1
3.87827005269859E-19 1.15228936968740E+00 -6.69736533337040E-01 O1
0 0
Options
Integer 1
Integer 4
42 1
11 2
49 1
52 1
Real 0
644 changes: 331 additions & 313 deletions tests/parsers/fixtures/aimall.aimqb/default/aiida_atomicfiles/h2.int

Large diffs are not rendered by default.

1,461 changes: 1,461 additions & 0 deletions tests/parsers/fixtures/aimall.aimqb/default/aiida_atomicfiles/h3.agpviz

Large diffs are not rendered by default.

91,500 changes: 91,500 additions & 0 deletions tests/parsers/fixtures/aimall.aimqb/default/aiida_atomicfiles/h3.iasviz

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Title Card Required
H3
Auto
Critical Point Data
1 0 0
-1.47374938389424E-16 -1.15228936968740E+00 -6.69736533337040E-01 O1
0 0
Options
Integer 4
42 1
11 2
49 1
52 1
Real 0
510 changes: 510 additions & 0 deletions tests/parsers/fixtures/aimall.aimqb/default/aiida_atomicfiles/h3.int

Large diffs are not rendered by default.

Loading

0 comments on commit 716c80c

Please sign in to comment.