hi Kay,
thanks a lot for the prompt reply.

Indeed the problem rises from the fact that the program is launched in a 
"non-bash" environment, so one would have to add generate_XDS.INP to the PATH 
of the Mac interface, rather than to the bash PATH.
I took the workaround of launching XDSgui from the command line, rather than by 
clicking on its icon, and everything works fine.

For what concerns ads-viewer, sorry I didn't notice the .dmg file.
installation is just painless with that, adding an alias to the bin in the 
.bashrc file.

The program looks like running nice now.

Thanks again,
ciao,

Sebastiano



On Jun 20, 2013, at 11:18 AM, Kay Diederichs <[email protected]> 
wrote:

> On 06/20/2013 11:07 AM, Sebastiano Pasqualato wrote:
>> 
>> Hi Kay, hi all,
>> 
>> sorry for the -maybe- naive questions, but i'm struggling to get the GUI
>> for XDS going.
>> I'm on Mac OSX 10.8.4. The dmg installer and the script work nicely.
>> 
>> However, I have a couple of problems::
>> 
>> 1.
>> I have placed the generate_XDS.INP script in the XDS directory
>> (/Applications/XDS-OSX_64/) and it should be hence added to the PATH by
>> the same lines that add the ads commands to the PATH.
>> 
>> Those are the lines:
>> 
>> export XDSPATH=/Applications/XDS-OSX_64/
>> export PATH=$PATH:$XDSPATH
>> 
>> in my ~/.bashrc
>> 
>> Indeed, the script looks accessible from wherever:
>> 
>> Seba@host053:~> generate_XDS.INP
>> generate_XDS.INP version 0.36 (12-June-2013) . Obtain the latest version
>> from
>> http://strucbio.biologie.uni-konstanz.de/xdswiki/index.php/generate_XDS.INP
>> Seba@host053:~>
>> 
>> However, when I load a frame in the xds-gui frame tab, and then click
>> onto the "generate XDS.INP" button, I get a message stating:
>> 
>> You have to install generate_XDS.INP in your Path.
>> 
>> Could you tell me what I am missing?
> 
> I don't know much about Macs but this looks more like a bash problem ... it 
> works for me when I use ~/.bash_profile  (i.e. not ~/.bashrc )
> 
> The bash documentation on my Linux says:
> "When  an  interactive  shell  that  is not a login shell is started, bash 
> reads and executes commands from ~/.bashrc, if that file exists."
> 
> The bash is invoked from a _program_ here, not from an interactive shell 
> (console or terminal window), which may result in ~/.bashrc not being 
> executed.
> 
>> 
>> 
>> 2.
>> The wiki page states that XDSgui depends on XDS-viewer.
>> Could you tell me ho to install that on a Mac?
>> 
> 
> XDS-viewer is not my program, so I guess you have to install it like any 
> other program; see also http://xds-viewer.sourceforge.net/
> 
> I just looked it up on my Mac:
> turn34:~ dikay$ ll /usr/local/bin/xds-viewer
> lrwxr-xr-x  1 root  wheel  58 Apr  3 11:27 /usr/local/bin/xds-viewer -> 
> /Applications/XDS-Viewer.app/Contents/MacOS/xds-viewer-bin
> 
> so it was probably installed in the usual way (from the DMG), but I do not 
> remember how I did it.
> 
> Please tell me how you solved these problems.
> 
> best,
> 
> Kay
> 
>> 
>> Thanks a lot for the excellent work,
>> ciao,
>> 
>> Sebastiano
>> 
>> 
>> On Jun 15, 2013, at 9:49 AM, Kay Diederichs
>> <[email protected] <mailto:[email protected]>>
>> wrote:
>> 
>>> Hi everybody,
>>> 
>>> I developed a GUI for academic users of XDS which is documented at
>>> http://strucbio.biologie.uni-konstanz.de/xdswiki/index.php/XDSgui .
>>> This XDSwiki article also has the links to binaries of xdsGUI (or
>>> XDSgui or xds-gui; this has not been decided yet ...), for Linux 32
>>> and 64 bit (compiled on a RHEL 6 clone), and Mac OS X (compiled on 10.7).
>>> The 'added value' of the GUI is that it produces informative plots
>>> which should greatly help to make decisions in data processing.
>>> The GUI is simple, tries to be self-explanatory and should be
>>> straightforward to operate. Noteworthy may be the TOOLS tab which
>>> offers a means to run commandline scripts upon a click with the mouse.
>>> This tab accepts user modifications which should make it attractive
>>> also for expert users - they can run their own scripts.
>>> This is the first version made publicly available. There are probaby
>>> bugs and I would like to learn about these. In particular, Mac experts
>>> please tell me how to solve the problems explained at the bottom of
>>> the Wiki article ...
>>> 
>>> thanks,
>>> 
>>> Kay
>>> --
>>> Kay Diederichs http://strucbio.biologie.uni-konstanz.de
>>> email: [email protected]
>>> <mailto:[email protected]> Tel +49 7531 88 4049 Fax 3183
>>> Fachbereich Biologie, Universität Konstanz, Box 647, D-78457 Konstanz
>> 
>> 
>> --
>> *Sebastiano Pasqualato, PhD*
>> Crystallography Unit
>> Department of Experimental Oncology
>> European Institute of Oncology
>> IFOM-IEO Campus
>> via Adamello, 16
>> 20139 - Milano
>> Italy
>> 
>> tel +39 02 9437 5167
>> fax +39 02 9437 5990
>> 
>> 
>> 
>> 
>> 
>> 
> 
> 
> -- 
> Kay Diederichs                http://strucbio.biologie.uni-konstanz.de
> email: [email protected]    Tel +49 7531 88 4049 Fax 3183
> Fachbereich Biologie, Universität Konstanz, Box M647, D-78457 Konstanz
> 
> This e-mail is digitally signed. If your e-mail client does not have the
> necessary capabilities, just ignore the attached signature "smime.p7s".
> 

-- 
Sebastiano Pasqualato, PhD
Crystallography Unit
Department of Experimental Oncology
European Institute of Oncology
IFOM-IEO Campus
via Adamello, 16
20139 - Milano
Italy

tel +39 02 9437 5167
fax +39 02 9437 5990






Reply via email to