Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
pranjii committed Dec 10, 2021
1 parent 5d1f343 commit 4436a07
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions testsuite/MDAnalysisTests/analysis/test_encore.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,11 @@ def test_dres_error_estimation(self, ens1):
assert stdev < stdev_upper_bound, "Unexpected standard deviation for" \
" bootstrapped samples in Dim. reduction Ensemble imilarity"

def test_covariance_matrix(self,
ens1, ens2):
covariance_of_matrix = encore.covariance.covariance_matrix(ensemble = ens1, reference = ens2)
assert covariance_of_matrix is np.zeros(len(ens1), 3)

class TestEncoreClustering(object):
@pytest.fixture(scope='class')
def ens1_template(self):
Expand Down

0 comments on commit 4436a07

Please sign in to comment.