[Kst] [Bug 130195] New: Datasources should enforce field unicity

Theodore Kisner tskisner.public at gmail.com
Sun Jul 9 00:31:02 CEST 2006


This is definitely datasource specific, so it sounds like you want this bug 
report to apply to the ASCII datasource.  For the healpix and the new FITS 
datasources, I solve this problem by simply prepending an absolute field 
number to the text of the field name.  

For example, if I have a FITS file with 2 tables like this:

Table 1 columns : <Sample> <Angle> <Data>
Table 2 columns : <Sample> <Angle> <Data>

Then the resulting fieldlist text strings looks like this:

"1 - Sample"
"2 - Angle"
"3 - Data"
"4 - Sample"
"5 - Angle"
"6 - Data"

So the absolute field position is part of the text label.  This ensures 
fieldname uniqueness.

-Ted







More information about the Kst mailing list