Re: [COOT] Scheme on WinCoot (Win XP)

2009-05-13 Thread Alex Luso
Hi Bernhard,

  Thanks for the clarification.

commenting on this. Maybe there should be some low level implementation
without the use of fancy (scheme) widgets, so that at least scripts can
be run.. (on my - long - list now).

   Ok, I think that would be a good idea. Given the fact that almost all 
scripting 
examples on the manual and in various other scripts in this forum are written 
in 
scheme it would be nice to have access to at least the basic scripts (non-gui) 
without having to resort to re-writing them in Python. Although the rules for 
how to convert scripts are documented, it's still a hurdle, especially for non-
programmers.

  About the underlying problem - the text in scheme widgets - is that a missing 
feature in the Windows scheme libraries or some weird bug?

  Thanks,
  -Alex

On Mon, 11 May 2009 23:17:05 +0200, Bernhard Lohkamp 
bernhard.lohk...@ki.se wrote:

Hi,

ok to clarify the situation with respect to Scheme/guile in WinCoot:

In general it is possible to compile and run WinCoot with Scheme,
however we currently DO NOT distribute WinCoot with Scheme enabled (note
to self: change website). The reason for this is that no text can be
displayed in the Scheme (Gtk) widgets and I/we want to avoid endless
commenting on this. Maybe there should be some low level implementation
without the use of fancy (scheme) widgets, so that at least scripts can
be run.. (on my - long - list now).

B

  I am new to Coot - I have been experimenting with the examples on
 the wiki
 page and it appears that scheme/guile scripting does not work in
 WinCoot(0.5.2). Just wanted to confirm if I am correct.

  I am/was a little confused b/c it appears the libraries and paths to
 scheme/guile get installed but nothing happens if I try to run a
 scheme script.

  Also read the slightly cryptic message you can install an add-on
 forscheme/guile scripting (no warranties) in
 http://www.ysbl.york.ac.uk/~lohkamp/coot/wincoot.html
 but I haven't seen this add-on anywhere.

  Just wanted to avoid re-writing some nice scheme scripts I see
 here and
 there and to just get some information on the subject.

  Thanks!
  -Alex




***

Dr. Bernhard Lohkamp
Assistant Professor
Div. Molecular Structural Biology
Dept. of Medical Biochemistry and Biophysics (MBB)
Karolinska Institutet
S-17177 Stockholm
Sweden

phone: (+46) 08-52487673
fax:   (+46) 08-327626
email: bernhard.lohk...@ki.se


Re: [COOT] Scheme on WinCoot (Win XP)

2009-05-13 Thread Alex Luso
On Wed, 13 May 2009 23:29:28 +0100, Paul Emsley 
paul.ems...@bioch.ox.ac.uk wrote:

   About the underlying problem - the text in scheme widgets - is that a 
missing
 feature in the Windows scheme libraries or some weird bug?
Can you be somewhat more precise in you description of the text in
scheme widgets?

Paul.

  I meant the issue Berhard mentions as the reason scheme is not available to 
Win-Coot - missing text in scheme widgets. Just curious if that's a minor bug 
or something major.

  Incidentally, I wonder what's the best resource to look at the available 
functions/commands etc in coot?
  For instance, I was curious what parameters were acceptable for
set-baton-build-params
i.e. from the tutorial/manual I know backwards is an option. But how to 
reverse it back to normal? forwards, forward, normal?!
  I found the command in the Coot Reference Manual webpage but it didn't give 
me any more information. Where would I find it in the code itself?

  Thanks,
  -Alex


Re: [COOT] Scheme on WinCoot (Win XP)

2009-05-13 Thread Alex Luso
On Thu, 14 May 2009 00:34:36 +0100, Paul Emsley 
paul.ems...@bioch.ox.ac.uk wrote:
   For instance, I was curious what parameters were acceptable for
 set-baton-build-params
 i.e. from the tutorial/manual I know backwards is an option. But how to
 reverse it back to normal? forwards, forward, normal?!

Oh, hmm... Thank you for pointing out this failing.  For the record it
is forwards.

  Thanks. Of course, I had figured it out by trial-and-error... :-) Made 
slightly 
more difficult b/c there was no error reported for a wrong parameter.

  I wonder if adding the function as buttons on the baton window would be 
useful? (i.e. Build Backwards and Build Forwards - perhaps asking for user 
input as to the relevant res-num or guessing it). I think O does that. Just a 
thought.

  Ok. Cheers,
  -Alex


[COOT] Scheme on WinCoot (Win XP)

2009-05-11 Thread Alex Luso
Hi,

  I am new to Coot - I have been experimenting with the examples on the wiki
page and it appears that scheme/guile scripting does not work in WinCoot
(0.5.2). Just wanted to confirm if I am correct.

  I am/was a little confused b/c it appears the libraries and paths to
scheme/guile get installed but nothing happens if I try to run a scheme script.

  Also read the slightly cryptic message you can install an add-on for
scheme/guile scripting (no warranties) in
http://www.ysbl.york.ac.uk/~lohkamp/coot/wincoot.html
but I haven't seen this add-on anywhere.

  Just wanted to avoid re-writing some nice scheme scripts I see here and
there and to just get some information on the subject.

  Thanks!
  -Alex