mirror of
https://github.com/ParticulateFlow/LPP.git
synced 2025-12-08 06:37:46 +00:00
rename 'list' variables
This commit is contained in:
@ -164,13 +164,13 @@ class chain:
|
||||
raise Exception("%d monomers instead of requested %d" % \
|
||||
(len(self.atoms),self.n))
|
||||
|
||||
list = [atom[2] for atom in self.atoms]
|
||||
atypes = max(list)
|
||||
atlist = [atom[2] for atom in self.atoms]
|
||||
atypes = max(atlist)
|
||||
|
||||
btypes = 0
|
||||
if len(self.bonds):
|
||||
list = [bond[1] for bond in self.bonds]
|
||||
btypes = max(list)
|
||||
btlist = [bond[1] for bond in self.bonds]
|
||||
btypes = max(btlist)
|
||||
|
||||
# create the data file
|
||||
|
||||
|
||||
Reference in New Issue
Block a user