From c18de7d864b7781a6258f0e4a655275dd0e5b2dc Mon Sep 17 00:00:00 2001 From: lunamorrow Date: Tue, 28 Jan 2025 13:54:51 +1000 Subject: [PATCH] Remove duplicate 'newresid()' function incorporated into PolyConf.Polymer during rebasing against main --- polyconf/polyconf/Polymer.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/polyconf/polyconf/Polymer.py b/polyconf/polyconf/Polymer.py index a081a69..4b22e19 100644 --- a/polyconf/polyconf/Polymer.py +++ b/polyconf/polyconf/Polymer.py @@ -115,17 +115,6 @@ def maxresid(self): return n - def newresid(self): - """ - Returns next numerical resid possible for the polymer - - :return: the polymer's current highest resid plus 1 - :rtype: int - """ - n = max(self.polymer.residues.resids) + 1 - return n - - def extend(self, monomer, n, nn, names, joins, ortho=[1,1,1], linearise=False, beta=0): """