예제 #1
0
def test_lammpstraj_get_step_string(db_test_app, file_regression):
    path = os.path.join(TEST_DIR, "input_files", "trajectory.lammpstrj")
    data = LammpsTrajectory(path)
    file_regression.check(data.get_step_string(-1))
예제 #2
0
def test_lammpstraj_get_step_string(db_test_app, file_regression):  # pylint: disable=unused-argument
    """Get the step information from a trajectory data file"""
    path = os.path.join(TEST_DIR, 'input_files', 'trajectory.lammpstrj')
    data = LammpsTrajectory(path)
    file_regression.check(data.get_step_string(-1))