From: Xiang-Jun Lu <3d...@gm...> - 2018-11-14 23:24:26
|
I am surprised by the PyMOL error message with the following commands: # this is fine color red; label *, name # reversing the order causes problems label *, name; color red ================================= PyMOL>label *, name; color red File "", line 1 name; color red ^ SyntaxError: invalid syntax Label-Error: failed to compile expression Label: labelled 0 atoms. ================================= Replacing 'name' with 'resi' or 'resn' etc has the same result. Issuing each command separately works as expected. The error message shows up only if "label *, name" is followed by another command, on the same line. I am using "Version 1.8.7.0 Open-Source" on macOS. Any ideas? Thanks, Xiang-Jun -- Xiang-Jun Lu (Ph.D.) Email: xia...@x3... Web: http://x3dna.org/ Forum: http://forum.x3dna.org/ |