List Secondary Structures: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
</source>
</source>


[[Category:Scripting_Script_Library|List Secondary Structures]]
[[Category:Script_Library|List Secondary Structures]]
[[Category:ObjSel_Scripts]]

Latest revision as of 07:35, 30 April 2009

import pymol
pymol.stored_ss = []
cmd.iterate('all', 'pymol.stored_ss.append(string.ljust(ss,1))')
print string.join(pymol.stored_ss)