From 7ac6f9c0b13ca2a8d2e9af6a1be7832bf179415f Mon Sep 17 00:00:00 2001 From: Pranav Khade Date: Sat, 29 Jun 2024 15:10:49 -0700 Subject: [PATCH] np.matrix to np.asmatrix fix test 1 --- packman/utilities/utilities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packman/utilities/utilities.py b/packman/utilities/utilities.py index 2e87f78..faeca67 100644 --- a/packman/utilities/utilities.py +++ b/packman/utilities/utilities.py @@ -66,7 +66,7 @@ def superimporse(reference: 'Chain', target: 'Chain', use: str='calpha', ids: Li Bm = numpy.subtract(atoms2_location, Centroid2) #Dot is matrix multiplication for array - H = numpy.mat(Bm.T) * numpy.mat(Am) + H = numpy.asmatrix(Bm.T) * numpy.asmatrix(Am) #Find Rotation U, S, Vt = numpy.linalg.svd(H)