Bug #1055
closed
Data files added after a package has been created display incorrectly.
Added by Dan Higgins over 21 years ago.
Updated almost 21 years ago.
Category:
morpho - general
Description
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.
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
created.
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.
A warning will now be given when there is no 'format' information in the
eml-physical file and a new data file is added.
Due to current use of eml2 documents in Morpho 1.5, this particular bug is no
longer valid. (Need to check operation of hand created tables in new version).
Original Bugzilla ID was 1055
Also available in: Atom
PDF