projects
/
calibcant.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d398aaf
)
Fix mode typo when running analyze_all() without dry_run.
author
W. Trevor King
<wking@tremily.us>
Fri, 20 Apr 2012 17:16:02 +0000
(13:16 -0400)
committer
W. Trevor King
<wking@tremily.us>
Fri, 20 Apr 2012 17:16:02 +0000
(13:16 -0400)
calibcant/analyze.py
patch
|
blob
|
history
diff --git
a/calibcant/analyze.py
b/calibcant/analyze.py
index 0fa917b6d205d69310da31fd56b468a26c07cc3f..839a51bb72076125cd8285fa8a184a92c481378a 100644
(file)
--- a/
calibcant/analyze.py
+++ b/
calibcant/analyze.py
@@
-209,7
+209,7
@@
def analyze_all(config, data, raw_data, maximum_relative_error=1e-5,
setting_name='inputs', attribute_value='deflection')
bumps_changed = temperatures_changed = vibrations_changed = False
if not isinstance(group, _h5py.Group) and not dry_run:
- f = _h5py.File(filename, mode)
+ f = _h5py.File(filename, mode
='a'
)
group = _h5_create_group(f, group)
else:
f = None