Ah, the problem is the "def" in front of the function call. It should be either:
set_symmetry 1a2p, 60, 60, 80, 90, 90, 120, P6122
(in the pymol command window or in a .pml script) or
cmd.set_symmetry("1a2p", 60, 60, 80, 90, 90, 120, spacegroup="P6122")
in a python script.
gilleain
On Wed, Sep 10, 2008 at 12:40 AM, Charles David Stout <[email protected]> wrote:
> I want to create a packing diagram from many molecules in the unit cell
> when the structure is one monomer -
> I tried-
>
> def set_symmetry(protein_name, 62.843 62.843 82.339 90.00 90.00
> 120.00, spacegroup="P6122")
>
> and get a syntax error.
> How is this done?
> Thanks,
> Dave
> 9-9-08
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> PyMOL-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pymol-users
>