On 05/05/2020 14:47, Xavier Brazzolotto wrote:
I’ve recently installed Coot 0.9 from CCP4 7.1 us OSX Catalina.
The program works okay except for the glycan module :

Trying to add a « complex mammalian » glycan chain it stops at the addition of the second residue with the following error message

In /Applications/ccp4-7.1/share/guile/gtk-2.0/gtk.scm:
 147:  0* [apply #<procedure #f ()> ()]
In unknown file:
   ?:  1  [#<procedure #f ()>]
In /Applications/ccp4-7.1/share/coot/scheme/add-linked-cho.scm:
    ...
 355:  2  (let* ((wm (matrix-state))) (set-matrix (/ wm 4)) ...)
 360:  3* (let* # # # ...)
 372:  4  (begin (begin (let* (#) (if # # #))))
    ...
 387:  5  (let* ((start-pos-view #)) (process-tree parent tree ...) ...)
 388:  6* [process-tree ("A" 106 "") (# # #) ...]
 317:  7  (cond ((null? tree) (quote ())) ((list? #) (let # #)) (else (let* # #)))
    ...
 325:  8  [cons ("A" 531 "") ...
 326:  9*  [process-tree ("A" 531 "") ((# #) ("ALPHA1-6" . "FUC")) ...]
 317: 10   (cond ((null? tree) (quote ())) ((list? #) (let # #)) (else (let* # #)))
 320: 11   (let ((part-1 #) (part-2 #)) (cons part-1 part-2))
 320: 12*  [process-tree ("A" 531 "") (("BETA1-4" . "NAG") (# # # ...)) ...]  317: 13   (cond ((null? tree) (quote ())) ((list? #) (let # #)) (else (let* # #)))  324: 14   (let* ((new-res #)) (cons new-res (process-tree new-res # proc-func)))  324: 15*  [add-linked-residue-add-cho-function 0 ("A" 531 "") ("BETA1-4" . "NAG")]
In unknown file:
   ?: 16   (letrec (# #) (if # # #))
In /Applications/ccp4-7.1/share/coot/scheme/add-linked-cho.scm:
     ...
 291: 17   (begin # # # ...)
 297: 18*  [delete-residue-by-spec ("A" 532 "")]
/Applications/ccp4-7.1/share/coot/scheme/add-linked-cho.scm:297:31: In procedure delete-residue-by-spec in expression (delete-residue-by-spec preped-new-res-spec): /Applications/ccp4-7.1/share/coot/scheme/add-linked-cho.scm:297:31: Wrong number of arguments to #<procedure delete-residue-by-spec (imol spec)>



Hi Xavier,

Thanks for the bug report.

Line 297 of /Applications/ccp4-7.1/share/coot/scheme/add-linked-cho.scm should read:

                  (delete-residue-by-spec imol preped-new-res-spec)


@Charles, I presume that you can fix that without a patch. I've pushed a commit.


Paul.

########################################################################

To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=COOT&A=1

Reply via email to