loading hdf files fixed (i think so)

This commit is contained in:
age 2006-08-14 15:07:46 +00:00
parent 5ea601efc8
commit a70946381f

View file

@ -16,7 +16,8 @@ def cs_render(cs_path,settings = {},hdf_path = ""):
- dictionary with settings (optional)
"""
hdf=neo_util.HDF(hdf_path)
hdf=neo_util.HDF()
hdf.readFile(hdf_path)
for key in settings.keys():
hdf.setValue(key,str(settings[key]))
cs= neo_cs.CS(hdf)