Re: [PyMOL] Linux pymol issues
Hi, Thomas, Thanks, bash> export QT_SCALE_FACTOR=1 bash> pymol works wonderful! ср, 28 нояб. 2018 г. в 15:35, Thomas Holder : > Hi Evgeny, > > Is any of the QT_*_SCALE_FACTOR variables set in your environment? Does it > help if you set for example QT_SCALE_FACTOR=1? In a bash terminal that > would be: > > bash> export QT_SCALE_FACTOR=1 > bash> pymol > > See also: > http://doc.qt.io/qt-5/highdpi.html#high-dpi-support-in-qt > > Cheers, > Thomas > > > On Nov 27, 2018, at 7:50 PM, Evgeny Osipov wrote: > > > > Dear Pymol community, > > I stumbled upon strange GUI issue with Pymol 2 and Maestro on my linux > laptop ( Xubuntu 18.04 HP Probook 440 G5): it looks like GUI elements have > different scale so it looks rather strange and very inconvenient for work. > Problem appears only at 1920x1080 resolution and everything is fine at > lower resolution. I have uploaded screenshots from pymol 2 at 1920x1080 > (highDPI) and 1680x1050 (lowDPI) here: > > https://imgur.com/a/Tlp79Kq > > > > Do anyone have a clue how to fix this? > > -- > Thomas Holder > PyMOL Principal Developer > Schrödinger, Inc. > > ___ PyMOL-users mailing list Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net Unsubscribe: https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe
Re: [PyMOL] Pandas module in Pymol
Hi Andreas, Looks like a known pandas issue, see: https://github.com/pandas-dev/pandas/issues/16536 According to that issue, upgrading pandas could help. Cheers, Thomas > On Nov 21, 2018, at 5:01 PM, Andreas Tosstorff > wrote: > > Hi all, > > I am trying to use pandas in a script in pymol. > > These are the first lines of the script: > > from pymol import cmd, stored, math > import pandas as pd > > > I get the following error message when running the script: > > 'module 'pandas' has no attribute 'plotting' > > > File > "/home/andt88/anaconda3/lib/python3.6/site-packages/pmg_qt/pymol_qt_gui.py", > line 863, in file_run > self.cmd.run(fname) > File "/home/andt88/anaconda3/lib/python3.6/site-packages/pymol/parsing.py", > line 484, in run > run_(path, ns_pymol, ns_pymol) > File "/home/andt88/anaconda3/lib/python3.6/site-packages/pymol/parsing.py", > line 533, in run_file > execfile(file,global_ns,local_ns) > File "/home/andt88/anaconda3/lib/python3.6/site-packages/pymol/parsing.py", > line 528, in execfile > exec(co, global_ns, local_ns) > File > "/home/andt88/Dropbox/PhD/IFN/Excipient_Screen/IFN_ES_2/NMR/NMR-Data/andreas/nmr/PPI-30 > TEMPOL 250718/loadBfacts.py", line 2, in > import pandas as pd > File > "/home/andt88/anaconda3/lib/python3.6/site-packages/pandas/__init__.py", line > 51, in > plot_params = pandas.plotting._style._Options(deprecated=True) > > I'd really appreciate your help with this! > Kind regards, > Andreas -- Thomas Holder PyMOL Principal Developer Schrödinger, Inc. ___ PyMOL-users mailing list Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net Unsubscribe: https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe
Re: [PyMOL] Linux pymol issues
Hi Evgeny, Is any of the QT_*_SCALE_FACTOR variables set in your environment? Does it help if you set for example QT_SCALE_FACTOR=1? In a bash terminal that would be: bash> export QT_SCALE_FACTOR=1 bash> pymol See also: http://doc.qt.io/qt-5/highdpi.html#high-dpi-support-in-qt Cheers, Thomas > On Nov 27, 2018, at 7:50 PM, Evgeny Osipov wrote: > > Dear Pymol community, > I stumbled upon strange GUI issue with Pymol 2 and Maestro on my linux > laptop ( Xubuntu 18.04 HP Probook 440 G5): it looks like GUI elements have > different scale so it looks rather strange and very inconvenient for work. > Problem appears only at 1920x1080 resolution and everything is fine at lower > resolution. I have uploaded screenshots from pymol 2 at 1920x1080 (highDPI) > and 1680x1050 (lowDPI) here: > https://imgur.com/a/Tlp79Kq > > Do anyone have a clue how to fix this? -- Thomas Holder PyMOL Principal Developer Schrödinger, Inc. ___ PyMOL-users mailing list Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net Unsubscribe: https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe