lyse is an analysis framework. It coordinates the running of python analysis scripts on experiment data as it becomes availiable, updating plots in real time.
BSD 2-Clause "Simplified" License
0
stars
0
forks
source link
Run.get_* methods should open the HDF5 file in read-only mode #42
All of the Run.get_* methods don't have a file mode specified, and this results in the file modified time changing whenever you access a shot file with them (even if you aren't doing any writing).
So we should add 'r' as the file mode to every h5py.File call within the Run.get_* methods
Original report (archived issue) by Philip Starkey (Bitbucket: pstarkey, GitHub: philipstarkey).
All of the
Run.get_*
methods don't have a file mode specified, and this results in the file modified time changing whenever you access a shot file with them (even if you aren't doing any writing).So we should add
'r'
as the file mode to everyh5py.File
call within theRun.get_*
methods