Hi,

Using Coot for OSX (stand-alone version 0.7-pre-1 revision 4040)

I see in the Docs (biop site):

> 4.17 Atomic Dots
> 
> You can draw dots round arbitrary atom selections
> 
> (dots imol atom-selection dot-density radius) The function returns a handle. 


So, from the Scripting window I run:

(dots 0 "//A/228/CA" 1 1)

which results in:

Backtrace:
In current input:
   6: 0* [dots 0 "//A/228/CA" 1 1]

<unnamed port>:6:1: In procedure dots in expression (dots 0 "//A/228/CA"
...):
<unnamed port>:6:1: Wrong number of arguments to dots
ABORT: (wrong-number-of-args)

Hmmm, I gave 4 arguments as said in the documentation.

But I can still use dots from the Extensions, so I investigate in the
extensions.scm code and I see:

>          submenu-representation "Dotted Surface..."
>          (lambda ()
>            (generic-chooser-and-entry "Surface for molecule"
>                                       "Atom Selection:"
>                                       "//A/1-2"
>                                       (lambda (imol text)
>                                         (let ((dots-handle (dots imol text 
> text 1 1)))
>                                           (format #t "dots handle: ~s~%" 
> dots-handle))))))

Now, I see two "text" arguments there, making a total of 5 arguments. I
guess one corresponds to the atom-selection as stated in the
documentation. But the second one?

Any ideas?

Best,


-- 
Miguel

Architecture et Fonction des Macromolécules Biologiques (UMR7257)
CNRS, Aix-Marseille Université
Case 932, 163 Avenue de Luminy, 13288 Marseille cedex 9, France
Tel: +33(0) 491 82 55 93
Fax: +33(0) 491 26 67 20
mailto:miguel.ortiz-lombar...@afmb.univ-mrs.fr
http://w2.afmb.univ-mrs.fr/Miguel-Ortiz-Lombardia

Reply via email to