On Wed, Aug 13, 2014 at 02:34:29PM +0200, Mark S. Bentley wrote:
> I make extensive use of meta-data in producing .GWY files, and add the 
> data in a specific order.

Metadata are represented by a dictionary/hash table/unordered map/...,
whatever you call it.  The entries are not ordered.  So the order in
which you store the items to a .GWY file does not matter and is already
lost during the loading of the file when the unordered dictionary is
constructed.

The same applies for instance to the contents of main GwyContainer.
Generally, the order in which named components of anything are stored in
a .GWY file is arbitrary (as stated in the specs).

> However the meta-data browser shows data 
> ordered alphabetically by name.

Yes, this is to present them in a stable order (as opposed to completely
randomly which would people hardly appreciate).  If the metadata have a
hierarchical structure, import modules often flatten this hierarchy
using prefixes and "::" separators, leading to names such as "General
Info::Z Amplitude"...

> This can be frustrating since related 
> data that I have added in sequence (e.g. x_orig, y_orig) are then spread 
> throughout the list and hard to read.

...which may be a reasonable option also in your case if you have lots
of metadata to get the related bits closer in an alphabetical listing.

> For me it would be more useful if the data would be displayed ordered as 
> in the GWY file, perhaps with the option to sort by name/value by 
> clicking the header, for example.

So, unfortunately, this is not possible.

Regards,

Yeti


------------------------------------------------------------------------------
_______________________________________________
Gwyddion-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gwyddion-users

Reply via email to