From: W. Trevor King Date: Wed, 20 Apr 2011 20:09:56 +0000 (-0400) Subject: Return the group created in h5_create_group(). X-Git-Tag: 0.5~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9afcf604e967123b3cdf2665827afe24a74225f2;p=pypiezo.git Return the group created in h5_create_group(). --- diff --git a/pypiezo/config.py b/pypiezo/config.py index 80e2b5a..1e182b4 100644 --- a/pypiezo/config.py +++ b/pypiezo/config.py @@ -471,6 +471,7 @@ def h5_create_group(cwg, path): % ('/'.join(gpath), cwg.file)) cwg.create_group(group) cwg = cwg[group] + return cwg class _HDF5Config (_BackedConfig): """Mixin to back a `_Config` class with an HDF5 file.