Re: [OpenBabel-Devel] Data not reflected on copied molecule

2013-02-07 Thread Dhroso, Andi (MU-Student)
Hi all, Just wanted to say appreciate your quick responses and hopefully didn't cause someone a bunch of waste of time. I figured out what the issue was and it's pretty silly so I thought i'd share in case someone runs into the same issue. The reason of the data not being reflected was because I

Re: [OpenBabel-Devel] Data not reflected on copied molecule

2013-02-07 Thread Noel O'Boyle
You need to provide the relevant code snippet. It could be several things. - Noel On 7 February 2013 06:14, andi wrote: > Hi all, > I am running into a strange problem and just can't seem to find a cause. > What I am trying to do is pass a an OBMol to some function and set some > generic dat

Re: [OpenBabel-Devel] Data not reflected on copied molecule

2013-02-07 Thread Jean Bréfort
Looks like you create a local OBMol which is then destroyed on return. You should probably use: OBMolecule *tmpMolecule =new OBMolecule(originalMo); Hope this helps, Jean Le mercredi 06 février 2013 à 22:14 -0800, andi a écrit : > Hi all, > I am running into a strange problem and just can't s