Control: tags -1 + confirmed

Hi,

On 2024-06-04 17:31, Picca Frédéric-Emmanuel wrote:
While using coot I found that it save it's states in these files

DEBUG:: saving state to filename 0-coot.state.py
State file 0-coot.state.py written.
State file 0-coot-history.py written.
State file 0-coot-history.scm written.

I can confirm this happens.

Maybe this is just something linked to a DEBUG mode....  It would be
great if this state could be saved in the xdg cache directory, or
maybe create a Release coot without all the Debuging.

I agree these files should better be placed in XDG cache or some other XDG-based directory. I have to make sure if these debug files are present only in Debian-provided coot, or are they supposed to appear always. I am not sure if it is a good idea to patch the debugging out unless it is intended, as turning it on would require rebuilding coot. Maybe the debug mode should be controlled by a command line option (off by default), but I would better have the upstream to implement it.

I do not know what is the best solution...

The coot command line is quite verbose...


I am wondering if these warnings are important ?

Most of them are probably not.

:~$ coot
INFO:: built with GTK 4.12.5
pdd /usr/share/coot
WARNING:: Coot REFMAC dictionary override COOT_REFMAC_LIB_DIR 
/usr/share/coot/lib failed to find the monomer library
WARNING:: COOT_PREFIX set, but no dictionary lib found
WARNING: Failed to read restraints dictionary.
debug:: in setup_python()    pydirectory is /usr/lib/python3.11/site-packages
debug:: in setup_python() pkgpydirectory is 
/usr/lib/python3.11/site-packages/coot
WARNING:: The reference structures directory (COOT_REF_STRUCTS): 
/usr/share/coot/reference-structures was not found.
           Ca->Mainchain will not be possible.
WARNING:: Coot REFMAC dictionary override COOT_REFMAC_LIB_DIR 
/usr/share/coot/lib failed to find the monomer library
WARNING:: COOT_PREFIX set, but no dictionary lib found
WARNING: Failed to read restraints dictionary.

The REFMAC dictionary packaged in Debian as refmac-dictionary needs some adjustment to make usable by coot and make the messages above go away.

The remaining output seems to be purely informational. I stripped that off from this email.

Thanks,
Andrius

Reply via email to