This old version of Proteopedia is provided for student assignments while the new version is undergoing repairs. Content and edits done in this old version of Proteopedia after March 1, 2026 will eventually be lost when it is retired in about June of 2026.
Apply for new accounts at the new Proteopedia. Your logins will work in both the old and new versions.
Proteopedia:DIY:Macros
From Proteopedia
(Difference between revisions)
m |
|||
| Line 116: | Line 116: | ||
</pre> | </pre> | ||
| - | '''Doesn't seem to allow anything other than ligand!?!?''' Why doesn't 'HEM' or '[HEM]' work as the peekaboo example seems to indicate it should?!?! It seems to hide all ligands!??! I also tried | + | '''Doesn't seem to allow anything other than ligand!?!?''' Why doesn't 'HEM' or '[HEM]' work as the peekaboo example seems to indicate it should?!?! It seems to hide all ligands!??! I also tried peekaboo(HEM) and peekaboo([HEM]) |
You can try the result here:<br/> | You can try the result here:<br/> | ||
Revision as of 03:35, 4 January 2021
Macros as a tool
Macros can be used in Proteopedia pages to call commonly used JSmol code. Macro functions can take parameters so that the code is general but can act on the specified item or items. Additional macros can be made.
This page is meant to be a resource for finding and using macros.
| |||||||||||
