From 71da645c3479ef2d43e5429f92e22ab35a00ed39 Mon Sep 17 00:00:00 2001 From: cadeduckworth Date: Fri, 14 Apr 2023 23:33:46 -0700 Subject: [PATCH] accommodation for figdir kwarg --- mdpow/tests/test_workflows_base.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mdpow/tests/test_workflows_base.py b/mdpow/tests/test_workflows_base.py index bf259048..dcf82993 100644 --- a/mdpow/tests/test_workflows_base.py +++ b/mdpow/tests/test_workflows_base.py @@ -67,14 +67,15 @@ def test_project_paths_csv_input(self, csv_input_data): pd.testing.assert_frame_equal(project_paths, csv_df) - def test_automated_project_analysis(self, project_paths_data, caplog): + def test_automated_project_analysis(self, SM_tmp_dir, project_paths_data, caplog): project_paths = project_paths_data # change resname to match topology (every SAMPL7 resname is 'UNK') # only necessary for this dataset, not necessary for normal use project_paths['resname'] = 'UNK' base.automated_project_analysis(project_paths, solvents=('water',), - ensemble_analysis='DihedralAnalysis') + ensemble_analysis='DihedralAnalysis', + figdir=SM_tmp_dir) assert 'all analyses completed' in caplog.text, ('automated_dihedral_analysis ' 'did not iteratively run to completion for the provided project')