List Secondary Structures: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
Line 7: Line 7:


[[Category: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)