Tuesday, October 25, 2005

More cdk.interfaces updates

Yesterday I had some spare time before going to a meeting about the Woordenboek Organische Chemie, so I was boldly going where no one has went before: getting the CDK module core independent of the data module. Why, you might wonder...

Well, if the as many modules of CDK become independent of the classes implementing the data interfaces, i.e. those classes that implement the org.openscience.cdk.interfaces interfaces, then it becomes possible to make alternative implementations. For example, an implementation that also implement the Octet interfaces, or an implementation that extends the JOELib classes. In that way, combining these libraries becomes as easy as writing a blog :)

Anyway, today I finished the AtomTypeFactory, and only the IstopeFactory remains to be updated. Since many classes in the CDK library use these two classes, patches had to be applied throughout the library. And code outside the CDK library might be broken now, so be aware...

No comments:

Post a Comment