Command not found from cxc file v1.7.1 on M2 Mac

Evening all, I was trying to color code my imod models based on their volume (see attached). It worked ok for me just one model file opened in ChimeraX. When I was doing anther model file, I can passed the individual command in the command line to change color: color #1.1 #ceecc8 However, when I generate a cxc file and open it from command line or click on Open, it showed Unknown command: color #1.1 #ceecc8 Any input where I was not doing correctly? Thanks for helping! -Hong [Screenshot 2024-05-28 at 11.22.11 PM.png][image2.png]

Hello Hong, The commands look correct to me, but sometimes it is possible to get those kinds of messages if there are other characters in the line, even special or invisible characters. My only guess is to make sure that the cxc file is a plain text file, not rich text, word document, etc. Sometimes when you paste text, it includes other information like the font that is not plain text. If the cxc file is plain text, it should work the same as putting the individual commands into the command line one by one. I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Resource for Biocomputing, Visualization, and Informatics Department of Pharmaceutical Chemistry University of California, San Francisco
On May 28, 2024, at 9:22 PM, Hong Glenn Meng ZHAN via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Evening all,
I was trying to color code my imod models based on their volume (see attached). It worked ok for me just one model file opened in ChimeraX. When I was doing anther model file, I can passed the individual command in the command line to change color: color #1.1 #ceecc8 However, when I generate a cxc file and open it from command line or click on Open, it showed Unknown command: color #1.1 #ceecc8
Any input where I was not doing correctly? Thanks for helping!
-Hong
<Screenshot 2024-05-28 at 11.22.11 PM.png><image2.png>

Thanks Elaine! Yes… I just find out the issue as you mentioned. I recreated a cxc command file this morning on my linux workstation and using plain text format, it worked! IMOD and PEET importation made a huge difference in my structural annotation… Thanks for this feature. -Hong
On May 29, 2024, at 11:06 AM, Elaine Meng <meng@cgl.ucsf.edu> wrote:
Hello Hong, The commands look correct to me, but sometimes it is possible to get those kinds of messages if there are other characters in the line, even special or invisible characters. My only guess is to make sure that the cxc file is a plain text file, not rich text, word document, etc. Sometimes when you paste text, it includes other information like the font that is not plain text.
If the cxc file is plain text, it should work the same as putting the individual commands into the command line one by one. I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Resource for Biocomputing, Visualization, and Informatics Department of Pharmaceutical Chemistry University of California, San Francisco
On May 28, 2024, at 9:22 PM, Hong Glenn Meng ZHAN via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Evening all,
I was trying to color code my imod models based on their volume (see attached). It worked ok for me just one model file opened in ChimeraX. When I was doing anther model file, I can passed the individual command in the command line to change color: color #1.1 #ceecc8 However, when I generate a cxc file and open it from command line or click on Open, it showed Unknown command: color #1.1 #ceecc8
Any input where I was not doing correctly? Thanks for helping!
-Hong
<Screenshot 2024-05-28 at 11.22.11 PM.png><image2.png>
participants (2)
-
Elaine Meng
-
Hong Glenn Meng ZHAN