Class ConvertToPlainDoubleBondFixer

  • All Implemented Interfaces:
    StructureFixer

    @PublicAPI
    public class ConvertToPlainDoubleBondFixer
    extends AbstractStructureFixer
    Converts non-stereo double bonds with invalid stereo mark (crossed, wiggly) to plain double bonds.
    Since:
    Marvin 6.3
    • Constructor Detail

      • ConvertToPlainDoubleBondFixer

        public ConvertToPlainDoubleBondFixer()
    • Method Detail

      • fix

        public boolean fix​(StructureCheckerResult result)
        Description copied from interface: StructureFixer
        Fixes one molecule problem identified by the result
        Parameters:
        result - is an instance of StructureCheckerResult which identifies the problem
        Returns:
        true if the fix was successful false otherwise