Skip to content

Commit

Permalink
add some simple checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Leimeroth committed Jan 14, 2025
1 parent e59c515 commit 871a4cb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/lammps/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -858,10 +858,13 @@ def test_multistep_log_parse(self):
file_directory = os.path.join(
self.execution_path, "..", "static", "lammps_test_files"
)
_generic_keys_lst, _pressure_dict, _df = _collect_output_log(
_generic_keys_lst, _pressure_dict, df = _collect_output_log(
file_name=os.path.join(file_directory, "multi_log_step_test.lammps"),
prism=UnfoldingPrism(structure.cell),
)
self.assertEqual(len(df[df.LogStep == 0]), 6)
self.assertEqual(len(df[df.LogStep == 1]), 6)
self.assertEqual(len(df.columns), 6)


def collect_dump_file_old(job, file_name="dump.out", cwd=None):
Expand Down

0 comments on commit 871a4cb

Please sign in to comment.