schrodinger / pymol-open-source

Open-source foundation of the user-sponsored PyMOL molecular visualization system.
https://pymol.org/
Other
1.2k stars 281 forks source link

Removing the mmCif file parsing alert from stdout #331

Closed chmnk closed 9 months ago

chmnk commented 9 months ago

Hi all,

Do you think if it would be possible to hide the following output

PRINTFB(G, FB_Executive, FB_Details)
      " ExecutiveLoad-Detail: Detected mmCIF\n" ENDFB(G);"

from the https://github.com/schrodinger/pymol-open-source/blob/c3e298356a13f93fce939f860800625272754c97/layer2/CifMoleculeReader.cpp#L1116?

I like using pymol as a simplistic PDB/CIF parser, but this output spoils the log a bit when working with thousands of files.

I am not sure how crucial is this print (and the small-mol-cif one below), and what is the best strategy of removing it (maybe changing the logging level to something else?), so no pull request from me so far.

JarrettSJohnson commented 9 months ago

Hi @chmnk , I'll address this in a couple of hours. This is already recently available in incentive if the quiet argument is supplied, but that didn't seem to make its way to open-source.

JarrettSJohnson commented 9 months ago

Resolved via 9c82294fab18d537b3b14c00767bdb7d126aea2c