> Oops. I'll get rid of that "feature". However, I'm having trouble
> doingthe equivalent in Python - I tried this:
>
> run_scheme_command("define *probe-command* \"%s\"" % probe_command)
>
> and it gave me this output:
>
> INFO:: Command: define *probe-command*
> "/Users/nat/phenix/src/build/mac-intel-osx/bin/phenix.probe"
>
>
> I tried it with parentheses too, but either way, I don't get an
> error but
> Coot still doesn't think Probe is there (i.e. the menu item is
> grayed out).
> Is it even possible to set these paths from Python?
There is two things to this. First you are missing the brackets in the
scheme expression and second you shall use 'set!' rather than define,
i.e. it should read:
run_scheme_command("(set! *probe-command* \"%s\")" % probe_command)
I hope this works,
B
Note: The execution of the guile statement throws an error. However that
is only visible in the guile scripting window.
|