From 239b2866a9b93af12c7ab422ac63f34cba2e1dde Mon Sep 17 00:00:00 2001 From: James Krieger Date: Fri, 3 Nov 2023 15:46:39 +0100 Subject: [PATCH] fix add --- prody/atomic/atomgroup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prody/atomic/atomgroup.py b/prody/atomic/atomgroup.py index 8e6ac33d4..1f88fd8fb 100644 --- a/prody/atomic/atomgroup.py +++ b/prody/atomic/atomgroup.py @@ -252,8 +252,8 @@ def __add__(self, other): else: new.setCoords(np.concatenate((self._getCoords(), other._getCoords()))) - new.setAnisous(np.concatenate((self._getCoords(), - other._getCoords()))) + new.setAnisous(np.concatenate((self.getAnisous(), + other.getAnisous()))) LOGGER.info('Active coordinate sets are copied to {0}.' .format(new.getTitle())) elif other._n_csets: