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