Hi,
I suspect that you don't modify the data structure you are iterating over but
rather the iterating object. For instance when you iterate over a list and try
to change the element, the following will not work (you probably know this):
Input:
l=[1,2,3]
for i in l:
i=5
print l
Output:
[1,
thanks Torsten, that was a good idea.
but i've done some more testing, and it seems to have
nothing to do with my modifications, but with pbmol.write():
if i simply echo back the same pybel Molecule:
> pbmol = pybel.readfile('pdbqt', pdbqf).next()
>
> pathName,basename = os.path.split(p
update, if anyone is interested: it seems quite clear the
bug is in the PDBQT output filter:
>> obabel file1.pdbqt -O file2.pdbqt
>> Segmentation fault: 11
>> obabel file1.pdbqt -O file2.pdb
>> 1 molecule converted
and has nothing particular to do with pybel; pybel is
silently eating this fault
It seems I can reproduce the segfault on OS X Yosemite, but not on Ubuntu 14.04.
-David
> On Aug 4, 2015, at 8:02 PM, R. K. Belew wrote:
>
> update, if anyone is interested: it seems quite clear the
> bug is in the PDBQT output filter:
>
>>> obabel file1.pdbqt -O file2.pdbqt
>>> Segmentation
Have you ever observed about the white-colored Modern Wall Decals? That is a
wall Decal with tree design that was colored in white-colored shade. Now we
will analyze its application in some children bed room with modern style. To
start our discovery, take a look at the first image given. This moder
With an eye toward environment friendly customers and mothers looking to
beautify plant centers and kids' rooms,Flower Wall Decals Vinly Walls Decals
picture is printed on PVC-free paper using resilient, eco-friendly ink.
Customized picture, which has long been the unique region of high-end house
d