Search the web
Sign In
New User? Sign Up
nmr_sparky
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
SPARKYHOME setting   Message List  
Reply | Forward Message #590 of 615 |
Re: [nmr_sparky] SPARKYHOME setting

Hi Nick,

The way Sparky expects files in directories with fixed names (Save,
Projects, ...) is horrible. That was developed in the early 1990s
before Python was part of Sparky so it is in the C++ code. Some small
modifications to the C++ could ease the pain but it would require
recompiling Sparky. That requires having the right versions of Python
and Tcl/Tk and it uses an unconventional build method briefly described
in the manual:

http://www.cgl.ucsf.edu/home/sparky/manual/install.html#Compile

The easiest modification would be to session.cc changing the
CheckDirectories() routine to always return true. Then you would never
be asked to create the standard directories.

Tom


nickfitzkee wrote:
>
>
>
> Hi,
>
> I love sparky, but I find it's default directory organization in
> SPARKYHOME cumbersome, especially for multiple sets of data. Currently,
> whenever I load files, I have to navigate through the system path to the
> local directories where I store processed spectra, assignments, etc.
> This can be a lot of navigating, and Sparky doesn't always consistently
> remember the last working directory--so I'll typically have to navigate
> repeatedly if I want to open several spectra, assginments, etc.
>
> Alternatively, I could set SPARKYHOME to the current working directory
> (CWD, '.'), but then I'm prompted to create the home directories every
> time I run sparky from a new location. Even then, I'm still stuck with
> extra directories that I'd need to delete later.
>
> Is there any way to set all three SPARKYHOME directories (Projects,
> Lists, Saves) to the CWD so that I don't have to bother with its data
> store anymore? I'm comfortable modifying the python source, but I
> haven't found where this information may be stored there.
>
> Thanks,
> Nick
>
>



Mon Jun 22, 2009 5:51 pm

yopypu
Offline Offline
Send Email Send Email

Forward
Message #590 of 615 |
Expand Messages Author Sort by Date

Hi, I love sparky, but I find it's default directory organization in SPARKYHOME cumbersome, especially for multiple sets of data. Currently, whenever I load...
nickfitzkee
Offline Send Email
Jun 22, 2009
5:12 pm

Hi Nick, The way Sparky expects files in directories with fixed names (Save, Projects, ...) is horrible. That was developed in the early 1990s before Python...
Thomas Goddard
yopypu
Offline Send Email
Jun 22, 2009
5:52 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help