Skip to content

Commit

Permalink
Update test_analysis.py
Browse files Browse the repository at this point in the history
Add test for extracting work distributions.
Bas Rustenburg authored Mar 23, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 1e40aef commit 114514d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions protons/tests/test_analysis.py
Original file line number Diff line number Diff line change
@@ -97,3 +97,8 @@ def test_taut_heatmap(self):
"""Plot the heatmap of residue charges"""
with netCDF4.Dataset(self.abl_imatinib_netcdf, 'r') as dataset:
analysis.plot_tautomer_heatmap(dataset, residues=None)

def test_extracting_work(self):
"""Extract work distributions for a single residue"""
with netCDF4.Dataset(self.abl_imatinib_netcdf, 'r') as dataset:
analysis.extract_work_distributions(dataset, 0, 1, -1)

0 comments on commit 114514d

Please sign in to comment.