Created
August 15, 2012 13:22
-
-
Save johnmay/3360086 to your computer and use it in GitHub Desktop.
CDK Bond Stereo reading from CML
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
} else if ("bondStereo".equals(name)) { | |
for (int i = 0; i < atts.getLength(); i++) { | |
if (atts.getQName(i).equals("dictRef")) { | |
if (atts.getValue(i).startsWith("cml:")) | |
bondStereo.add(atts.getValue(i).substring(4)); | |
stereoGiven=true; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment