We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a209ac commit 96188bcCopy full SHA for 96188bc
1 file changed
Bio/PDB/vectors.py
@@ -555,7 +555,6 @@ def coord_space(
555
mrz2 = gmrz2
556
557
# tx acs[1] to origin
558
- # tm = homog_trans_mtx(-a1[0, 0], -a1[1, 0], -a1[2, 0])
559
set_homog_trans_mtx(-a1[0], -a1[1], -a1[2], tm)
560
561
# directly translate a2 using a1
@@ -612,16 +611,12 @@ def coord_space(
612
611
# rev=True, so generate the reverse transformation
613
614
# rotate a0 theta about Z, reversing alignment with X
615
- # mrz2 = homog_rot_mtx(azimuth2, "z")
616
set_Z_homog_rot_mtx(azimuth2, mrz2)
617
# rotate a2 phi about Y
618
- # mry = homog_rot_mtx(sc[2], "y")
619
set_Y_homog_rot_mtx(sc[2], mry)
620
# rotate a2 theta about Z
621
- # mrz = homog_rot_mtx(sc[1], "z")
622
set_Z_homog_rot_mtx(sc[1], mrz)
623
# translation matrix origin to a1
624
- # tm = homog_trans_mtx(a1[0, 0], a1[1, 0], a1[2, 0])
625
set_homog_trans_mtx(a1[0], a1[1], a1[2], tm)
626
627
# mr = tm @ mrz @ mry @ mrz2
0 commit comments