From 5034e5b79f0381fd23a18582e8245a19b8c26d4b Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 15 Mar 2012 22:38:26 -0400 Subject: [PATCH] Actually load the config from storage in load_afm(). --- pyafm/storage.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyafm/storage.py b/pyafm/storage.py index 28a61b5..b764730 100644 --- a/pyafm/storage.py +++ b/pyafm/storage.py @@ -32,6 +32,7 @@ def load_afm(filename=None, group=None, devices=None): assert group.endswith('/'), group _LOG.info('loading AFM config from {} {}'.format(filename, group)) config = _AFMConfig(storage=_HDF5_Storage(filename=filename, group=group)) + config.load() _LOG.debug( 'constructing AFM from configuration:\n{}'.format(config.dump())) return AFM(config=config, devices=devices) -- 2.26.2