From 602df60fe86e1718b04a9eb395cadf2528979b07 Mon Sep 17 00:00:00 2001 From: Logan Ward Date: Tue, 7 Nov 2023 13:23:32 -0500 Subject: [PATCH] Don't discard errors in test --- tests/simulation/test_lammps.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/tests/simulation/test_lammps.py b/tests/simulation/test_lammps.py index 95d00eea..08d8f7b1 100644 --- a/tests/simulation/test_lammps.py +++ b/tests/simulation/test_lammps.py @@ -9,11 +9,7 @@ def test_lammps_runner(cif_files): ) for test_file in cif_files.glob("*.cif"): - try: - lmp_path = lmprunner.prep_molecular_dynamics_single(test_file, - timesteps=1000, - report_frequency=100, - stepsize_fs=0.5) - logging.info(lmp_path) - except Exception as e: - logging.error(e) + lmp_path = lmprunner.prep_molecular_dynamics_single(test_file, + timesteps=1000, + report_frequency=100, + stepsize_fs=0.5)