Closed sorghumking closed 3 weeks ago
This happens because the Interval model is an oddball - its SchemeEntry property is named 'lithology' instead of 'scheme' like all other models. PSICAT uses the scheme's type to name the human-readable name column. For Interval, both the property and scheme type are 'lithology'.
When we write cells in tabular data, we find the column header with the matching name to determine which column to write to. The Interval's 'lithology' property correctly written to a cell in the first 'lithology' column. However, when the human-readable name is written, it also seeks the 'lithology' column (that's the scheme's type). It finds the first 'lithology' column and overwrites the scheme:code with the human-readable name. Dang.