Package chemaxon.fixers
Class ConvertToIonicFormFixer
java.lang.Object
chemaxon.fixers.AbstractStructureFixer
chemaxon.fixers.ConvertToIonicFormFixer
- All Implemented Interfaces:
StructureFixer
A descendant of
AbstractStructureFixer
which converts the incorrectly
drawn (connected to bond, no charge) covalent counter ion representation into
ionic form.- Since:
- Marvin 5.4
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
fix
(StructureCheckerResult result) Checker results contain atoms from the alkali metal and alkaline earth metal groups and their ionic counterparts of N, O, S atoms.Methods inherited from class chemaxon.fixers.AbstractStructureFixer
getDescription, getDescriptor, getName, setDescription, setName
-
Constructor Details
-
ConvertToIonicFormFixer
public ConvertToIonicFormFixer()
-
-
Method Details
-
fix
Checker results contain atoms from the alkali metal and alkaline earth metal groups and their ionic counterparts of N, O, S atoms. The fix removes the bonds between them and adds charges to the atoms involved.- Parameters:
result
- results from checker- Returns:
- true if the fix was successful; the molecule in result is changed
-