[PyMOL] pymolrc.pml location

2021-06-19 Thread Michael Morgan
Dear all, I have PyMOL (windows, open-source) installed in my windows machine. The default pymolrc.pml location is "C:\Users\$user\pymolrc.pml". It works well if I place the pymolrc.pml file there. Is it possible to change this default location? There is a "Edit pymolrc" option under

[PyMOL] how to pass an argument to python in pymol

2020-11-30 Thread Michael Morgan
I usually run "pymol -c myscript.py". Now I want to pass an argument to myscript.py. Normally I can use "sys.argv" when run python script as "python myscript.py argument1 argument2 ...". But when I tried "pymol -c myscript.py argument1 argument2 ..." it did not work. So what's the correct way

[PyMOL] pymolrc.pml file location

2020-11-01 Thread Michael Morgan
Dear friends, I have successfully installed windows version open-source pymol according to instructions: https://pymolwiki.org/index.php/Windows_Install I have a copy of "pymolrc.pml" file from my previous pymol, which is not open-source version and was kept in "$pymol/share/pymol"

[PyMOL] auto focus after creating

2019-03-27 Thread Michael Morgan
Hello, When I create an object, it will be zoomed and focused. Where can I change setting for this? Thanks. Michael ___ PyMOL-users mailing list Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net Unsubscribe:

[PyMOL] rename/assign residue names

2019-03-27 Thread Michael Morgan
Dear all, I need assign some residue names in a PDB file. Basically, I need the following: select a group of atoms, assign a residue name to the group and save into the PDB file. Can this be done by pymol or vmd? Editing the original PDB Text is not a good idea because it is very difficult to

[PyMOL] command to append a log file?

2019-03-05 Thread Michael Morgan
Dear all, I hope my log file can keep recording operations. I put "log_open" in the pymolrc.pml file. However, it seems it creates a new file. All operations from last time are wiped out. "Append." from "File -> Log File" menu seems work. But how can I make it automatically for every