Thanks for the quick response Paul, appreciated

I edited the file and re-installed ccp4, so now Prosmart is available

The restraints menu still generates no restraints, and Prosmart has some 
trouble as well.

I tried with different pdb just in case, but same issues. Restraints should 
appear as in v-0.9 no?

###
----------- extra restraints ---------
     0
     55627

(MacCoot:91313): Gtk-WARNING **: 19:04:48.053: Broken accounting of active 
state for widget 0x7fb8b16a8660(GtkLabel)

(MacCoot:91313): Gtk-WARNING **: 19:04:48.053: Broken accounting of active 
state for widget 0x7fb8b16a84f0(GtkBox)

(MacCoot:91313): Gtk-WARNING **: 19:04:48.053: Broken accounting of active 
state for widget 0x7fb8b16a8200(GtkToggleButton)

(MacCoot:91313): Gtk-WARNING **: 19:04:48.053: Broken accounting of active 
state for widget 0x7fb8b16a7ff0(GtkMenuButton)

(MacCoot:91313): Gtk-WARNING **: 19:04:48.053: Broken accounting of active 
state for widget 0x7fb8e3a8a6d0(GtkBox)

(MacCoot:91313): Gtk-WARNING **: 19:04:48.053: Broken accounting of active 
state for widget 0x7fb8e3a8a550(GtkBox)

(MacCoot:91313): Gtk-WARNING **: 19:04:48.053: Broken accounting of active 
state for widget 0x7fb8e3a868e0(GtkBox)

(MacCoot:91313): Gtk-WARNING **: 19:04:48.053: Broken accounting of active 
state for widget 0x7fb8e389afb0(GtkApplicationWindow)
debug:: make_store_for_model_molecule_combobox appending 7 7 pdb3lkr.ent
debug:: make_store_for_model_molecule_combobox appending 7 7 pdb3lkr.ent
INFO:: Creating directory coot-ccp4
debug open write coot-ccp4/prosmart.log
Reading ProSMART restraints from ProSMART_Output/pdb3lkr.ent-prosmart.txt
not 24 words
INFO:: Failed to match restraint to templates:
# ProSMART Restraints File
not 24 words
INFO:: Failed to match restraint to templates:
#
not 24 words
INFO:: Failed to match restraint to templates:
# Comprises Chain-Chain Restraints Files:
not 24 words
INFO:: Failed to match restraint to templates:
#   pdb3lkr.ent-prosmart_A_pdb3lkr.ent-prosmart-ref_A
not 24 words
INFO:: Failed to match restraint to templates:
#   pdb3lkr.ent-prosmart_B_pdb3lkr.ent-prosmart-ref_B
not 24 words
INFO:: Failed to match restraint to templates:
#   pdb3lkr.ent-prosmart_C_pdb3lkr.ent-prosmart-ref_C
not 24 words
INFO:: Failed to match restraint to templates:
#
not 24 words
INFO:: Failed to match restraint to templates:
#
not 24 words
INFO:: Failed to match restraint to templates:
# --------------------------------------------------
not 24 words
INFO:: Failed to match restraint to templates:
#
not 24 words
INFO:: Failed to match restraint to templates:
#
not 24 words
INFO:: Failed to match restraint to templates:
# ProSMART Restraints File
not 24 words
INFO:: Failed to match restraint to templates:
external generated ProSMART source 
pdb3lkr.ent-prosmart_A_pdb3lkr.ent-prosmart-ref_A
not 24 words
INFO:: Failed to match restraint to templates:
# ProSMART Restraints File
not 24 words
INFO:: Failed to match restraint to templates:
external generated ProSMART source 
pdb3lkr.ent-prosmart_B_pdb3lkr.ent-prosmart-ref_B
not 24 words
INFO:: Failed to match restraint to templates:
# ProSMART Restraints File
not 24 words
INFO:: Failed to match restraint to templates:
external generated ProSMART source 
pdb3lkr.ent-prosmart_C_pdb3lkr.ent-prosmart-ref_C
INFO:: add_refmac_extra_restraints(): have 49248 bond restraints
INFO:: add_refmac_extra_restraints(): have 0 angle restraints


From: Paul Emsley <pems...@mrc-lmb.cam.ac.uk>
Date: Friday, 26 July 2024 at 18:29
To: Fernández-Leiro.Rafael <rfle...@cnio.es>, COOT@JISCMAIL.AC.UK 
<COOT@JISCMAIL.AC.UK>
Subject: Re: Prosmart / Restraints on Mac
CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe



On 26/07/2024 16:44, Fernández-Leiro.Rafael wrote:

--
Dear all,

I am having trouble running prosmart on the mac version (1.1.10 and previous 
version).

Running any option from the “restraints” menu gives an error:

###
in generate_self_restraint_func() 6 A 3.7
----------- extra restraints ---------
     0
     9915
DEBUG:: --- new_startup_on_glarea_resize() 1929 1087

Traceback (most recent call last):
  File 
"/usr/local/Cellar/python@3.12/3.12.4/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/coot/gui_prosmart.py"<mailto:/usr/local/Cellar/python@3.12/3.12.4/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/coot/gui_prosmart.py>,
 line 140, in <lambda>
    lambda _simple_action, _arg: generate_all_molecule_self_restraints(6.0))
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/usr/local/Cellar/python@3.12/3.12.4/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/coot/gui_prosmart.py"<mailto:/usr/local/Cellar/python@3.12/3.12.4/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/coot/gui_prosmart.py>,
 line 81, in generate_all_molecule_self_restraints
    generate_self_restraints(aa_imol, val)
    ^^^^^^^^^^^^^^^^^^^^^^^^
NameError: name 'generate_self_restraints' is not defined
####


Oh that's annoying.

Change line 89 of gui_prosmart.py to read

        coot.generate_self_restraints(aa_imol, val)

(i.e. add a "coot." to the front of the line)


Using Prosmart shows a pop-up window that says “No prosmart”
It needs to be in your path. Coot does not bundle ProSMART.


Should Prosmart be installed separately?

Yes - typically as part of CCP4. At least for the moment.


(I used the brew install approach, which btw works fantastic)


Yes, it does:

("brew install brewsci/bio/coot" for the record).

Well done Yoshitaka Moriwaki.



Paul.




**ADVERTENCIA LEGAL**: Este correo electrónico, y en su caso los ficheros 
adjuntos, pueden contener información protegida para el uso exclusivo de su 
destinatario. Se prohíbe la distribución, reproducción o cualquier otro tipo de 
transmisión por parte de otra persona que no sea el destinatario. Si usted 
recibe por error este correo, se ruega comunicarlo al remitente y borrar el 
mensaje recibido.
De conformidad con lo dispuesto en el Reglamento (UE) 2016/679 relativo a la 
protección de los datos personales de las personas físicas, la información 
personal que nos pueda facilitar a través de este correo electrónico quedará 
registrada por la Fundación CNIO con la finalidad de tramitar el objeto del 
presente correo electrónico. El tratamiento de sus datos personales se 
encuentra legitimado por ser necesario para gestionar el objeto del presente 
mensaje. Estos datos personales no serán comunicados a ningún destinatario 
salvo a aquellos que usted nos autorice o así venga exigido por una ley. Ud. 
podrá ejercer los derechos de acceso, rectificación, supresión, limitación de 
tratamiento, portabilidad y oposición en la siguiente dirección: c/Melchor 
Fernandez Almagro 3, 28029 (Madrid). Podrá ponerse en contacto con el Delegado 
de Protección de Datos en: delegado_l...@cnio.es. Para el caso de que Ud. 
precise conocer información adicional sobre el tratamiento de sus datos 
personales, puede consultar dicha información adicional en el siguiente enlace 
dentro de nuestra página web: https://www.cnio.es/es/privacidad/index.asp

**LEGAL NOTICE**: This email and any attached files may contain protected 
information for the sole use of its intended recipient or addressee. Anyone 
other than the intended recipient or addressee is strictly prohibited from 
distributing, reproducing or transmitting the email and its contents in any 
way. If you receive this email in error, please notify the sender and delete 
the message.
Pursuant to the provisions of EU Regulation 2016/679 regarding the protection 
of personal data, any personal information you provide through this email will 
be registered by the CNIO Foundation in order to deal with content of this 
email. Your personal data must be processed in order to be able to deal with 
the content and purpose of this message. Your personal details will not be 
passed on to anyone else unless you authorise us to do so or we are required to 
do so by law. You may exercise your rights regarding access, rectification, 
suppression, limitation of processing, portability and opposition by writing to 
the following address: c/Melchor Fernandez Almagro 3, 28029 (Madrid). You may 
contact the Data Protection Delegate (Delegado de Protección de Datos) at: 
delegado_l...@cnio.es. If you require further information about the processing 
of your personal data, go to the following link on our webpage: 
https://www.cnio.es/es/privacidad/index.asp

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

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