Hi Paul I did modify the file adding the missing imol argument It works now. Many thanks.
> Le 5 mai 2020 à 16:55, Paul Emsley <[email protected]> a écrit : > > 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 > <https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=COOT&A=1> Xavier Brazzolotto, PhD [email protected] Département de Toxicologie et Risques Chimiques Unité Neurotoxiques Institut de Recherche Biomédicale des Armées 1 Place du Général Valérie André, BP 73 91223 Brétigny sur Orge France Phone +33 (0) 1 78 65 14 00 Alt Phone +33 (0) 4 57 42 87 19 Cell +33 (0) 6 58 36 39 09 The information in this e-mail may be privileged and confidential, intended only for the use of the addressee(s) above. Any unauthorized use or disclosure of this information is prohibited. If you have received this e-mail by mistake, please delete it and immediately contact the sender. This is not an official email address of the French Ministry of the Armed Forces. It does not allow diffusion of protected informations and does not necessarily complies to the ministry cyber security policy. ######################################################################## To unsubscribe from the COOT list, click the following link: https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=COOT&A=1
