From 2e3e129f1ecbf2b5ea70084a8178b99a7f4338d8 Mon Sep 17 00:00:00 2001 From: finlayclark Date: Mon, 16 Sep 2024 17:14:53 +0100 Subject: [PATCH] Ruff auto-formatting changes --- a3fe/tests/test_read.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/a3fe/tests/test_read.py b/a3fe/tests/test_read.py index 0fd23ca..49ab4af 100644 --- a/a3fe/tests/test_read.py +++ b/a3fe/tests/test_read.py @@ -115,6 +115,7 @@ def test_write_truncated_sim_datafile_end_and_start(): assert lines[13].split()[0] == "5000" assert lines[-2].split()[0] == "9000" + def test_process_slurm_file_base(): """ Test that the SLURM file base name is correctly extracted from a SLURM file. @@ -123,5 +124,7 @@ def test_process_slurm_file_base(): assert slurm_file_base == "a3fe/data/example_run_dir/input/somd-array-gpu-" # Test alternative formatting - slurm_file_base = get_slurm_file_base("a3fe/data/alternative_input/alternative_run_somd.sh") - assert slurm_file_base == "a3fe/data/alternative_input/somd-array-gpu-" \ No newline at end of file + slurm_file_base = get_slurm_file_base( + "a3fe/data/alternative_input/alternative_run_somd.sh" + ) + assert slurm_file_base == "a3fe/data/alternative_input/somd-array-gpu-"