Data files added after a package has been created display incorrectly.
Problem reported by Christy Bowles. If metadata for a data file is created by
hand (i.e. not by the text import wizard) and a data file is then added to a
package, the datafile is sometimes not displayed as a grid. In fact, a message
like 'Data in datafile seahoob.300.1 cannot be read! will appear.
Updated by Dan Higgins over 20 years ago
The problem has been traced to incomplete metadata in the eml-physical module.
If the 'format' element has no data, then the 'Data in datafile seahoob.300.1
cannot be read! appears. Simply adding 'text' or 'ascii' to that field will
cause the data to be displayed as text.
Also, if the 'fieldDelimiter' data is missing, then the grid display will not be
These problems occur because Morpho currently 'trusts' the metadata and does not
actually look at the data file when the metadata information is absent and the
data has been added to the package after the metadata. We need to make Morpho
'smarter' (actual guess values from the data when metadata is missing, or at
least give meaningful warnings when it cannot find the appropriate metadata.