h5config.git
13 years agoEnsure that dumping doesn't crash for populated ConfigSettings.
W. Trevor King [Thu, 8 Sep 2011 14:46:14 +0000 (10:46 -0400)]
Ensure that dumping doesn't crash for populated ConfigSettings.

13 years agoFix nested dumping output (using prefix and nested config names).
W. Trevor King [Thu, 8 Sep 2011 14:39:21 +0000 (10:39 -0400)]
Fix nested dumping output (using prefix and nested config names).

13 years agoFix dumping for ConfigListSetting (a subclass of ConfigSetting).
W. Trevor King [Thu, 8 Sep 2011 14:34:28 +0000 (10:34 -0400)]
Fix dumping for ConfigListSetting (a subclass of ConfigSetting).

13 years agoFix arbitrart -> arbitrary typo in config.Setting.__doc__.
W. Trevor King [Thu, 8 Sep 2011 14:31:06 +0000 (10:31 -0400)]
Fix arbitrart -> arbitrary typo in config.Setting.__doc__.

13 years agoLog a useful error message when trying to dump and invalid value.
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.

13 years agoFix v -> value typo in YAML storage loader.
W. Trevor King [Fri, 29 Jul 2011 12:23:51 +0000 (08:23 -0400)]
Fix v -> value typo in YAML storage loader.

13 years agoNumeric types are now stored in native format (vs. old strings).
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.

13 years agoAdd ability to nest Configs.
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.

13 years agoSplit out h5_create_group so it can be used by other modules. v0.1
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.

13 years agoPackageConfig should automatically add LOG to namespace.
W. Trevor King [Thu, 28 Jul 2011 17:07:04 +0000 (13:07 -0400)]
PackageConfig should automatically add LOG to namespace.

13 years agoFix name -> package_name typo in logger creation.
W. Trevor King [Thu, 28 Jul 2011 16:59:00 +0000 (12:59 -0400)]
Fix name -> package_name typo in logger creation.

13 years agoRemove lots of leading underscores, now that we're a stand-alone package.
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.

13 years agoFix reStructuredText typos in README.
W. Trevor King [Thu, 28 Jul 2011 16:06:46 +0000 (12:06 -0400)]
Fix reStructuredText typos in README.

13 years agoAdd missing comma in setup.py.
W. Trevor King [Thu, 28 Jul 2011 16:05:20 +0000 (12:05 -0400)]
Add missing comma in setup.py.

13 years agoBegin versioning (split out from the pypiezo package).
W. Trevor King [Thu, 28 Jul 2011 13:24:39 +0000 (09:24 -0400)]
Begin versioning (split out from the pypiezo package).