Skip to content

Run.get_* methods should open the HDF5 file in read-only mode #42

@philipstarkey

Description

@philipstarkey

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 every h5py.File call within the Run.get_* methods

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingminor

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions