Skip to content

Commit

Permalink
accommodation for figdir kwarg
Browse files Browse the repository at this point in the history
  • Loading branch information
cadeduckworth committed Apr 15, 2023
1 parent 45cf29d commit 71da645
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mdpow/tests/test_workflows_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 71da645

Please sign in to comment.