Difference between revisions of "List Secondary Structures"

From PyMOLWiki
Jump to navigation Jump to search
 
m
 
(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 08: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)