[PATCH] Unexpected Behaviour in preference window.
Dirk Hohndel
dirk at hohndel.org
Tue Apr 15 07:24:53 PDT 2014
On Tue, 2014-04-15 at 09:27 +0200, Robert C. Helling wrote:
> On Mon, 14 Apr 2014, Dirk Hohndel wrote:
>
> Hi,
>
> > But the TecDetails, Units, all the settings that we need to look at in
> > several places should be in prefs.
>
> as I said on IRC, I am currently trying to get the planner to a workable
> state (slowly admittedly). At some point it will want to remember slightly
> more complex data structures between runs, like for example at least one
> default gaslist or a default set of ascend velocities at various depths.
>
> Do you have any preferences where those should go? Initially preferences
> come to mind but we might as well store them in an invisible magic dive in
> the xml (that sounds crazy at first but note that the preferences like
> scalar values so the data would have to be serialized in some way while
> dives already accomodate gas lists and could as well store ascend speeds
> in their samples).
You can store strings in the preferences. So if you really feel the need
to go that way, you can store your XML in the preferences. But I don't
see how storing this as 'magic dive' in the XML (or git tree) makes any
sense.
So no, I want this stored in preferences.
/D
More information about the subsurface
mailing list