From: Christopher N. <cn...@it...> - 2010-02-18 05:16:14
|
Hey all, Just a quick one, to use the standalone save / read functions of pypcsimplus.Parameters, I've had to change a couple of very simple things in the source: 1. In saveInH5File(...), the openFile command has open for read ('r') instead of write ('w'). 2. In readFromH5File(...), I've changed all self.__openFile uses to local variables (i.e. openedFile = False) to avoid the __openedFile element trying to override a non-existent element of the same name when passing to an Experiment or Model. Cheers, Chris. |