So far, I've been able to capture the pixels from the scene in two steps
using the png method along with imread:
p1.cmd.png(image_path)
img = plt.imread(image_path)
Since I have to do this quite often in my program, I'd to capture the
pixels in a numpy ndarray avoiding writting the image to disk
Thx for your quick response, Thomas. Please, could you elaborate the
previous example a little bit further? I'm a little confused about what you
can accomplish using the callback function you posted. Thx
--
"Este mensaje es privado y confidencial y se dirige exclusivamente a su
destinatario. Si
omputer. I already did it but PyMol isn't still activated. Any
idea on how to completely install the license file using only the Command
Line Interface? Many thx.
BR,
Antonio Serrano
--
"Este mensaje es privado y confidencial y se dirige exclusivamente a su
destinatario. Si usted recibe es
file will differ of
> course. Basically, path-to-pymol-dir/share/pymol/license.lic is the path.
>
> Cheers,
> Thomas
>
> > On Jun 17, 2020, at 2:15 PM, Antonio Serrano wrote:
> >
> > Hi:
> >
> > I'm working with PyMol installed on a remote server, so I do
;.
>
> Cheers,
> Thomas
>
> > On Jun 18, 2020, at 6:08 PM, Antonio Serrano wrote:
> >
> > Hi Thomas. Thanks for your quick response. I installed Miniconda, so I
> put the license file (pymol-edu-license.lic) in the following path:
> $HOME/miniconda3/share/pymol/ . B
gt; file was found.
>
>
> > On Jun 19, 2020, at 10:33 AM, Antonio Serrano
> wrote:
> >
> > I changed the name of the license file as you said, but the warning
> message keeps popping:
> >
> >
> >
> >
> >
> >
> >
> >
&g
Hi, Thomas. Yeah, solution no. 1 worked! Thank you very much indeed.
Kind regards,
Antonio
--
"Este mensaje es privado y confidencial y se dirige exclusivamente a su
destinatario. Si usted recibe este mensaje por error, no debe revelar,
distribuir o copiar este e-mail. Por favor, comuníquelo
when
it should have around 3 Kb).
Is there any feature about PyMol sessions and/or png files generation that
I should know beforehand when using the Python API of PyMol? Any clue to
solve this issue?
Many thx,
Antonio Serrano
--
"Este mensaje es privado y confidencial y se dirige exclusivamen
I get the following warning message: "PyMOL not
running, entering library mode (experimental)". It is supposed to work, but
I don't get the molecules colored by atom. I also tried with the following
last command instead of sess.cmd.util.cbac("all"):
import pymol
pymol.uti
Mooers, Ph.D.
> Associate Professor
> Department of Biochemistry and Molecular Biology
> College of Medicine
> University of Oklahoma Health Sciences Center
> S.L. Young Biomedical Research Center (BRC) Rm. 466
> 975 NE 10th Street, BRC 466
> Oklahoma City, OK 73104-5419
>
## CONTEXT ##
Running PyMol 2.4 on Ubuntu 20.04.1 LTS.
I'm launching the PyMol's GUI from a Python script executed from the shell
like this:
python my_script.py
A virtual environment is activated. This venv takes PyMol's Python
interpreter from ~/pymol/bin/. I import the
11 matches
Mail list logo