Skip to content

Commit 96188bc

Browse files
committed
Drop older commented code lines in PDB vector code
1 parent 4a209ac commit 96188bc

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

Bio/PDB/vectors.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,6 @@ def coord_space(
555555
mrz2 = gmrz2
556556

557557
# tx acs[1] to origin
558-
# tm = homog_trans_mtx(-a1[0, 0], -a1[1, 0], -a1[2, 0])
559558
set_homog_trans_mtx(-a1[0], -a1[1], -a1[2], tm)
560559

561560
# directly translate a2 using a1
@@ -612,16 +611,12 @@ def coord_space(
612611
# rev=True, so generate the reverse transformation
613612

614613
# rotate a0 theta about Z, reversing alignment with X
615-
# mrz2 = homog_rot_mtx(azimuth2, "z")
616614
set_Z_homog_rot_mtx(azimuth2, mrz2)
617615
# rotate a2 phi about Y
618-
# mry = homog_rot_mtx(sc[2], "y")
619616
set_Y_homog_rot_mtx(sc[2], mry)
620617
# rotate a2 theta about Z
621-
# mrz = homog_rot_mtx(sc[1], "z")
622618
set_Z_homog_rot_mtx(sc[1], mrz)
623619
# translation matrix origin to a1
624-
# tm = homog_trans_mtx(a1[0, 0], a1[1, 0], a1[2, 0])
625620
set_homog_trans_mtx(a1[0], a1[1], a1[2], tm)
626621

627622
# mr = tm @ mrz @ mry @ mrz2

0 commit comments

Comments
 (0)