User 0908c5ccdd
19-03-2007 16:54:22
I have inserted a row into the database using the jc_insert operator. The code I used is as below:
The string for vSmiles is calculated from Accord for Excel and then sent to the PL/SQL procedure. This works fine. However I have come across a problem to do with aromaticity.
Structure 1 is attached and was registered into the database. The SMILES string calculated by Accord for Excel was c1ccc2c(c1)C(\C=C/O2)=O
However when this is written to the database in the PL/SQL procedure the CD_SMILES column in the JCHEMISTRY table shows O=c1ccoc2ccccc12 as the SMILES string. Notice the lower case atoms, that signify aromaticity. I may be wrong, but I did not think my original molecule was aromatic, yet the cartridge has attempted to draw it as aromatic.
When I produce an image of the inserted structure the cartridge "draws" the pyran ring as aromatic - see Structure 2.
Surely this is incorrect?
Code: |
aCDReturn := jchem_table_pkg.jc_insert(vSmiles, 'jchemistry', null, 'true', 'false', ''); iCDNum := aCDReturn(1); |
The string for vSmiles is calculated from Accord for Excel and then sent to the PL/SQL procedure. This works fine. However I have come across a problem to do with aromaticity.
Structure 1 is attached and was registered into the database. The SMILES string calculated by Accord for Excel was c1ccc2c(c1)C(\C=C/O2)=O
However when this is written to the database in the PL/SQL procedure the CD_SMILES column in the JCHEMISTRY table shows O=c1ccoc2ccccc12 as the SMILES string. Notice the lower case atoms, that signify aromaticity. I may be wrong, but I did not think my original molecule was aromatic, yet the cartridge has attempted to draw it as aromatic.
When I produce an image of the inserted structure the cartridge "draws" the pyran ring as aromatic - see Structure 2.
Surely this is incorrect?