Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adapting and cleaning up several SMARTS query matchers to use the new…
… invariants. The query value is now stored in the class and not on the query atom - this mirrors how other matchers work and generally makes things cleaner. Access to the values was not used (or currently useful). Serialization was removed - the class did not implement the interface and it looks like the UID was just added by default. Serialization was removed rather than fixed as it is rarely useful and there are much better techniques. Several unused classes were removed - these fullfilled the same functionality as others and it was confusing to have two for the same purpose. The RingAtom/SmallestRingAtom can now be done by using different invariants. The DegreeAtom was incorrect, matching charge, and the ExplicitConnectionAtom fulfilled it's use case. Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
- Loading branch information
Showing
17 changed files
with
622 additions
and
493 deletions.
There are no files selected for viewing
79 changes: 0 additions & 79 deletions
79
src/main/org/openscience/cdk/isomorphism/matchers/smarts/ConnectionCountAtom.java
This file was deleted.
Oops, something went wrong.
62 changes: 0 additions & 62 deletions
62
src/main/org/openscience/cdk/isomorphism/matchers/smarts/DegreeAtom.java
This file was deleted.
Oops, something went wrong.
This file contains 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
84 changes: 0 additions & 84 deletions
84
src/main/org/openscience/cdk/isomorphism/matchers/smarts/RingAtom.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.