summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
W. Trevor King [Tue, 27 Sep 2011 18:41:24 +0000 (14:41 -0400)]
Rework de-numpy-ing in hdf5 module (now also de-numpy floats and ints).
W. Trevor King [Mon, 26 Sep 2011 00:19:01 +0000 (20:19 -0400)]
Consolidate de-numpy-ing in hdf5 module.
W. Trevor King [Sun, 25 Sep 2011 23:39:17 +0000 (19:39 -0400)]
Adjust ChoiceSetting.convert_from_text to handle numpy character ndarrays.
W. Trevor King [Sun, 25 Sep 2011 23:15:07 +0000 (19:15 -0400)]
Change attribute_name argument to the more flexible get_attribute in Config.select_config.
W. Trevor King [Fri, 23 Sep 2011 16:31:33 +0000 (12:31 -0400)]
Fix item_name -> attribute_name KeyError in select_config().
W. Trevor King [Thu, 8 Sep 2011 21:51:19 +0000 (17:51 -0400)]
Merging is still unimplemented, so raise an exception on Storage.clear().
W. Trevor King [Thu, 8 Sep 2011 21:50:35 +0000 (17:50 -0400)]
Standardize indentation in HDF5_Storage._save.
W. Trevor King [Thu, 8 Sep 2011 21:37:59 +0000 (17:37 -0400)]
Add public Config.set_storage() method.
W. Trevor King [Thu, 8 Sep 2011 15:17:03 +0000 (11:17 -0400)]
Add Config.select_config method and improve Config's docstring.
W. Trevor King [Thu, 8 Sep 2011 14:46:14 +0000 (10:46 -0400)]
Ensure that dumping doesn't crash for populated ConfigSettings.
W. Trevor King [Thu, 8 Sep 2011 14:39:21 +0000 (10:39 -0400)]
Fix nested dumping output (using prefix and nested config names).
W. Trevor King [Thu, 8 Sep 2011 14:34:28 +0000 (10:34 -0400)]
Fix dumping for ConfigListSetting (a subclass of ConfigSetting).
W. Trevor King [Thu, 8 Sep 2011 14:31:06 +0000 (10:31 -0400)]
Fix arbitrart -> arbitrary typo in config.Setting.__doc__.
W. Trevor King [Thu, 8 Sep 2011 14:26:11 +0000 (10:26 -0400)]
Log a useful error message when trying to dump and invalid value.
W. Trevor King [Fri, 29 Jul 2011 12:23:51 +0000 (08:23 -0400)]
Fix v -> value typo in YAML storage loader.
W. Trevor King [Fri, 29 Jul 2011 10:54:07 +0000 (06:54 -0400)]
Numeric types are now stored in native format (vs. old strings).
ChoiceSettings have string-type storage values anyway, so we'll leave
them as strings in the data files.
W. Trevor King [Fri, 29 Jul 2011 04:13:03 +0000 (00:13 -0400)]
Add ability to nest Configs.
I also restructured the storage backends as distinct helper classes
rather than Config subclasses. This means that you can use several
Storage instances to save a single Config instance (although each
Config instance will have a single default Storage instance stored in
config._storage). This avoids all the automatic subclassing
shenanigans, and makes loading and saving from different backends much
easier.
W. Trevor King [Thu, 28 Jul 2011 17:35:12 +0000 (13:35 -0400)]
Split out h5_create_group so it can be used by other modules.
My initial break from pypiezo was not from the pypiezo tip. This
commit pulls in following pypiezo changes:
commit
67d6dca84988d5d4271835522f4697d9e0a2c6f2
Split out h5_create_group so it can be used by other modules.
commit
9afcf604e967123b3cdf2665827afe24a74225f2
Return the group created in h5_create_group().
commit
5d84f6b5392236e8d2b1513178063bfc2a5f5893
Special case for '/' group in h5_create_group.
It also strips trailing whitespace from h5config/hdf5.py.
W. Trevor King [Thu, 28 Jul 2011 17:07:04 +0000 (13:07 -0400)]
PackageConfig should automatically add LOG to namespace.
W. Trevor King [Thu, 28 Jul 2011 16:59:00 +0000 (12:59 -0400)]
Fix name -> package_name typo in logger creation.
W. Trevor King [Thu, 28 Jul 2011 16:41:13 +0000 (12:41 -0400)]
Remove lots of leading underscores, now that we're a stand-alone package.
W. Trevor King [Thu, 28 Jul 2011 16:06:46 +0000 (12:06 -0400)]
Fix reStructuredText typos in README.
W. Trevor King [Thu, 28 Jul 2011 16:05:20 +0000 (12:05 -0400)]
Add missing comma in setup.py.
W. Trevor King [Thu, 28 Jul 2011 13:24:39 +0000 (09:24 -0400)]
Begin versioning (split out from the pypiezo package).