Bug #1442
closed
data wizard does not create correct type of data
Added by Chad Berkley over 20 years ago.
Updated over 20 years ago.
Category:
morpho - general
Description
in the data wizard, I told it I wanted to create a complex text format file. I
then told it I wanted 3 fixed width columns of 20,20,10 characters. When I
edited the file and morpho serialized the output, it serialized it as a comma
delimited text file even though the metadata still claimed that it was fixed width.
It appears that morpho creates a comma delimited file no matter what delimiter
you choose. even if you choose a simple delimited file, then tell it to use
another delimiter, it still uses commas.
The data table was not written to handle complex text formats of the type
described. Like the text import wizard code, it was written only to handle
delimited text.
There are several issues that come up in trying to convert the data table editor
to handle complex text formats. For example, the cell editors would have to be
configured to limit the number of characters to the fixed column widths. Perhaps
more troublesome, however, is that the wizard (and eml?) does not require that
the number of delimiters/fixed cell widths match the number of attributes (i.e.
the number of columns).
Wizard pages have been modified so that the complex text choice is disabled for
creating a new data table. Complex text tables can still be described but not
created in Morpho. This is consistent with only delimited text being handeled in
the TextImport Wizard.
Original Bugzilla ID was 1442
Also available in: Atom
PDF