Skip to content

Commit 7aee18f

Browse files
authored
Merge pull request #129 from danpf/patch-1
Update tmalign.py for python 3.11
2 parents 67927e9 + a5a3b25 commit 7aee18f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tmalign.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def tmalign(mobile, target, args='', exe='TMalign', ter=0, transform=1, object=N
170170
print('')
171171

172172
assert len(matrix) == 3 * 4
173-
matrix.extend([0, 0, 0, 1])
173+
matrix.extend([0.0, 0.0, 0.0, 1.0])
174174

175175
if int(transform):
176176
cmd.transform_selection('byobject (%s)' % (mobile), matrix, homogenous=1)

0 commit comments

Comments
 (0)