ilastik/ilastik — pull request #1054 by jakirkham (2014-12-03 02:34:34+00:00)
Title: Cleanup convenience methods applet serializer

Changed the convenience methods so that getOrCreateGroup takes advantage of the method require_group from h5py, which does the same thing. Also, this ensures that an existing dataset might not be returned instead of a group. Now, an error will be raised. Changed deleteIfPresent to simply attempt deleting and handle an exception in the case that the item does not exist as opposed to performing the search twice.