I'm not sure of the exact syntax for the ncs commands, but this
backtrace is telling you that it doesn't know about a variable called D.
Unless you've created a variable with the chain id in it (aka typed
"(define D "my_chain_id")" somewhere in the scripting window, you
haven't).
The short version is that it looks like you need to quote your string
literals (the chain name in this case).
Pete
Kendall Nettles wrote:
> I'm trying to generate NCS maps with Chain D as the master chain. My
> molecule is numbered 25 in the Display Manager.
>
> This is my first use of the scripting functions in Coot, and I could really
> use some suggestions. Could someone please help me with the syntax? I've
> read the user manual, tutorials, searched the BB and Google, and I don't get
> it. I typed the following into the scheme scripting window:
>
> coot> (ncs-control-change-ncs-master-to-chain 25 D)
>
> ...and got the following error:
>
> Backtrace:
> In current input:
> 8: 0* [ncs-control-change-ncs-master-to-chain 25 ...
>
> <unnamed port>:8:1: While evaluating arguments to
> ncs-control-change-ncs-master-to-chain in expression
> (ncs-control-change-ncs-master-to-chain 25 D):
> <unnamed port>:8:1: Unbound variable: D
> ABORT: (unbound-variable)
>
>
> Thanks,
> Kendall
|