Fix incompatability with python2.0 in one of the examples.

This commit is contained in:
Maxim Sobolev 2000-12-05 18:15:14 +00:00
parent a92bd00163
commit a6463edb68
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=35695

View file

@ -0,0 +1,11 @@
--- py/Demo/dek/OglSurface/NumericPDB.py 2000/12/04 21:16:08 1.1
+++ py/Demo/dek/OglSurface/NumericPDB.py 2000/12/04 21:16:33
@@ -90,7 +90,7 @@
z = string.atof(string.strip(line[47:54]))
self.records.append(PDBRecord(type, anum, atom, residue, chain, rnum))
- self.crds.append(x,y,z)
+ self.crds.append((x,y,z))
self.crds = Numeric.array(self.crds)