New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added to CMLCoreModule capability to read atomParity elements #37
Conversation
spelling error. Formatting changes.
I left a few comments with the commit. It's a great start, thanks! |
counts set (needed for SMILES output). Tidied code. Formatting changes.
Made 2 other small changes, please check! |
Also you're probably aware but the unit tests don't all run on Windows, some of them have line ending issues. |
Actually no, but I suspected that might the case. Have you got a list? |
Looks good, I'm happy with all except the hydrogens. Maybe I'm missing something but isn't the problem here that the input CML didn't specify the count. For example this would give correct behaviour with the existing code: <atom id="a1" symbol="H" hydrogens="0"/> If it's documented in the CML spec that hydrogens have 0 implicit hydrogens by default it's okay. Otherwise, this should not be done automatically, there are other methods to set the hydrogen count to allow valid input for SMILES. Also watch out for formatting (whitespace) changes, these are best in a separate commit otherwise they make it difficult to see what changed. |
org.openscience.cdk.cdk-io java.lang.AssertionError: File not found in the classpath: io.javafiles org.openscience.cdk.io.MDLV2000WriterTest java.lang.AssertionError: incorrect radical output testMultipleRadicals(org.openscience.cdk.io.MDLV2000WriterTest) java.lang.AssertionError: incorrect radical output on line 22 testSingleSingletRadical(org.openscience.cdk.io.MDLV2000WriterTest) java.lang.AssertionError: incorrect radical output testSingleTripletRadical(org.openscience.cdk.io.MDLV2000WriterTest) java.lang.AssertionError: incorrect radical output |
Unit test failures. Looks like the first two might be more serious. |
Cheers, J On Aug 11, 2014, at 2:39 PM, AndyHowlettGitHub notifications@github.com wrote:
|
Nope the first two are old coverage tests. They're disabled in pom but won't be in the IDE. |
supposed to be present in CML, and should not be inferred.
Applied and pushed. Thanks. |
Corrected spelling error. Formatting changes.