Description
Original report (archived issue) by Philip Starkey (Bitbucket: pstarkey, GitHub: philipstarkey).
Following on from issue #49, there are two outstanding bugs I have found that I could not fix. These are:
- Manually changing an "outer" expansion type to nothing (it will revert to "outer" when you reopen runmanager)
- Manually changing a zip group to "outer" (it will revert to the zip group when you re-open)
I think that to fix these we will need to save some data as to whether the expansion type was set manually by the user or automatically by runmanager (and that this needs to be stored in the HDF5 file along side the expansion type). My reasoning for this is that we currently guess the expansion type which is either none or expansion, and then decide if it is a zip group. Because we transition from outer -> zip, we thus can't distinguish zip -> outer as it will appear like it's at the start of the transition from outer -> zip. Similarly, arrays that have had their expansion type removed, will have the expansion type guessed as "outer", since the expansion is determined from the type and so you can't tell the difference.
There may be a way to solve this (without storing extra data in the HDF5 file) by rebuilding the metadata used in the calculation of the expansion type, when runmanager restores open groups. However, I'm not 100% certain this is possible...