Which version did you generate it with? There should be a blank line after
M END?

John

On 24 July 2017 at 11:03, Staffan Arvidsson <staffan.arvids...@gmail.com>
wrote:

> I just bumped the CDK version in our code repo (from 1.5.13) and found
> that some of my tests are now failing. The issue is reading v3000 SDF files
> were properties are not set on the molecules. I attached the file that I've
> used in one of tests. Basic code for showing things are not working:
>
> IteratingSDFReader iter = new IteratingSDFReader(new
> FileInputStream(file), SilentChemObjectBuilder.getInstance());
>
> while(iter.hasNext()){
>
> System.out.println(iter.next().getProperties());
> }
>
> The output is simply an empty map. Or did I miss something here?
>
> Also, I've found that the keys in properties are somehow 'cleaned' by
> switching out space, dots, equal signs to lower case character? Any reason
> behind this?
>
>
> Best,
> Staffan
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Cdk-user mailing list
> Cdk-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cdk-user
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Cdk-user mailing list
Cdk-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdk-user

Reply via email to