Problem of visualizing phase in PDFgui on Mac OS X

165 views
Skip to first unread message

Long Yang

unread,
Jan 27, 2017, 7:28:33 PM1/27/17
to diffpy-users

Hi,


After we installed the visualization software (such as VESTA, PyMOL), if we visualize phase using PDFgui in Mac OS X, it will give us an error ([Errno 13] Permission denied). The solution (by Dr. Juhas) is in the following:


To start a Mac application from a Terminal use:


   open -a /Applications/VESTA/VESTA.app somefile.cif


To do the same from PDFgui go to the Preferences menu and set:


   viewer executable:  /usr/bin/open

   Argument string:    -a /Applications/VESTA/VESTA.app %s

   Structure format:   whatever VESTA needs


The reason is that on Mac OS X the /Applications/Something.app is a directory containing the program executable, dynamic-link libraries, and other data - images, media, documentation, etc., used by the application.  As a directory Something.app is not directly executable.



Bests,


Long

Reply all
Reply to author
Forward
0 new messages