My computer system is macOS Catalina 10.15.7 and the version of COOT is 0.8.9.2 
downloaded from this website: 
http://scottlab.ucsc.edu/xtal/wiki/index.php/Stand-Alone_Coot#Latest_.22Stable.22_Build_OS_X_installer_package_for_10.6_and_above

I've tried the option 1:

Calculate  -> Scripting -> Python

load_from_path("add_linked_cho.py")

--> showed the same message in the scripting window as terminal showed.


For option 2:

edit

/opt/coot/lib/python2.7/site-packages/coot/gui_add_linked_cho.py
so that line 9 has a # in front of it (needs to be aligned with the other text 
in the block)

--> Still didn't work.
I compared the script of this file with the one of  Linux version which is able 
to add glycans, and I could not find anything wrong.

Jessica


-----Original message-----
From:Paul Emsley <pems...@mrc-lmb.cam.ac.uk>
To:Jessica Ho <as0190...@gate.sinica.edu.tw>,COOT@JISCMAIL.AC.UK
Date:Thu, 17 Mar 2022 17:28:26
Subject:Re: Failure of glycan addition in MacOS


On 17/03/2022 08:05, Jessica Ho wrote:
> Hi, all
>
> I am using COOT in MacOS,


 From where did you get the binary?   Which version?


> and I found that all the carbohydrate-related function can't be used.
>
> When I point N-linked glycan addition, the terminal shows the following error 
> message:
>
> Traceback (most recent call last):
> File "/opt/coot/lib/python2.7/site-packages/coot/gui_add_linked_cho.py", line 
> 608, in <lambda>
> interactive_add_cho_dialog())
> File "/opt/coot/lib/python2.7/site-packages/coot/gui_add_linked_cho.py", line 
> 9, in interactive_add_cho_dialog
> add_synthetic_pyranose_planes()
> NameError: global name 'add_synthetic_pyranose_planes' is not defined
> Traceback (most recent call last):
> File "/opt/coot/lib/python2.7/site-packages/coot/gui_add_linked_cho.py", line 
> 608, in <lambda>
> interactive_add_cho_dialog())
> File "/opt/coot/lib/python2.7/site-packages/coot/gui_add_linked_cho.py", line 
> 9, in interactive_add_cho_dialog
> add_synthetic_pyranose_planes()
> NameError: global name 'add_synthetic_pyranose_planes' is not defined
>

Maybe these might work?


Option 1:

Calculate  -> Scripting -> Python

load_from_path("add_linked_cho.py")

Then try

N-linked glycan addition


Option 2:

edit

/opt/coot/lib/python2.7/site-packages/coot/gui_add_linked_cho.py
so that line 9 has a # in front of it (needs to be aligned with the other text 
in the block)


Paul.



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

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

This message was issued to members of www.jiscmail.ac.uk/COOT, a mailing list 
hosted by www.jiscmail.ac.uk, terms & conditions are available at 
https://www.jiscmail.ac.uk/policyandsecurity/

Reply via email to