qkitgroup / qkit

Qkit framework
GNU General Public License v2.0
43 stars 46 forks source link

opening existing h5 files #43

Closed Schneider1 closed 6 years ago

Schneider1 commented 6 years ago

If you try to open an existing h5 file with the ´storage` class, and you have a typo (or wrong local path) in the filename, a new file will be created silently, resulting in empty datasets.

It would be good to have a dedicated open method that raises an error, if the file does not exist.

rotzinger commented 6 years ago

I or Marco are going to fix this, good point.