Re: [PyMOL] Formatted output

2020-10-26 Thread Thomas Holder
Hi Pedro, The Incentive PyMOL Qt GUI is able to handle a small subset of ANSI color codes. pymol.colorprinting.error("Text in red") pymol.colorprinting.warning("Text in magenta") print("\033[31mRed \033[32mGreen \033[33mYellow\033[m Default") https://en.wikipedia.org/wiki/ANSI_escape_code

Re: [PyMOL] Formatted output

2020-10-25 Thread Pedro Lacerda
I see that probably you are using HTML for this. https://github.com/schrodinger/pymol-open-source/blob/69b1f0b53b4109c34604adcea3983e4d3886069e/modules/pymol/colorprinting.py But printing HTML directly into the console didn't worked. Em dom., 25 de out. de 2020 às 23:06, Pedro Lacerda escreveu:

[PyMOL] Formatted output

2020-10-25 Thread Pedro Lacerda
Hi, How can I print formatted output into the PyMOL console? I see that on the incentive version the output is coloured (eg errors are red). -- Pedro Sousa Lacerda Laboratório de Bioinformática e Modelagem Molecular / UFBA Mestrando em Ciências Farmácias / UEFS @pslacerda +55 71 9 9981-1856