List Secondary Structures: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 6: Line 6:
</source>
</source>


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

Revision as of 16:24, 6 May 2005

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