Search:
Login
Preferences
Help/Guide
About Trac
Wiki
Timeline
Roadmap
View Tickets
Search
Context Navigation
Back to Scripts
Scripts
: pblengths.py
File pblengths.py,
237 bytes
(added by
goddard
,
9 years ago
)
Line
1
# Print lengths of currently selected pseudobonds
2
from
chimera
import
selection
3
pbonds
=
selection
.
currentPseudobonds
()
4
5
for
pb
in
pbonds
:
6
a1
,
a2
=
pb
.
atoms
7
print
(
'
%15s
%15s
%8.4g
'
%
(
a1
.
oslIdent
(),
a2
.
oslIdent
(),
pb
.
length
()))
Download in other formats:
Original Format