User 0224fcf261
17-12-2004 17:29:53
Hi guys,
I have opened a molecule from an SD file into a Molecule object, this Molecule actually contains two molecules and a number of property keys. If i split the molecules using:
The i get an array of two Molecules (each containing one molecule) but they don't have the property keys from the initial parent Molecule object. Is there a simple way to do this or do i have to iteratively copy the property keys over to each Molecule in my array ? i notice i can getPropertyKeys() as an Enumeration put i don't seem to be able to setPropertyKeys(Enumeration). It would be useful if the convertToFrags automatically copied propety keys across.
I hope this makes sense!
Thanks
Alistair
I have opened a molecule from an SD file into a Molecule object, this Molecule actually contains two molecules and a number of property keys. If i split the molecules using:
Code: |
Molecule[] molArray = myMol.convertToFrags(); |
The i get an array of two Molecules (each containing one molecule) but they don't have the property keys from the initial parent Molecule object. Is there a simple way to do this or do i have to iteratively copy the property keys over to each Molecule in my array ? i notice i can getPropertyKeys() as an Enumeration put i don't seem to be able to setPropertyKeys(Enumeration). It would be useful if the convertToFrags automatically copied propety keys across.
I hope this makes sense!
Thanks
Alistair