On Tue, Mar 24, 2009 at 08:28:38PM +0000, Jeremy Sanders wrote: > Bryan Harris wrote: > [...] > > We > > could also look for and just ignore text. (This is more or less what > > excel > > does. I think this program ought to be at least as clever as excel...) > > I certainly think there is a problem with the data import. I'd like to make > it more intelligent and recognise headers (if required), or allow a click to > name a column. The problem is to make the behaviour predictable and sensible > Do you have some examples of where it could be useful? The CSV import > currently uses the column headings as descriptors. > > A simple fix for your problem might be check-box option could be to ignore > text in the input file, though this is not ideal.
IMHO the text lines could be ignored by default. That's what I do in fityk and xylib (http://www.unipress.waw.pl/fityk/xylib/). There is a lot of files out there that mix tab/space-separated numbers with text and there can be any number of header lines or the text can be added at the end of the file or even in the middle. E.g. now I analyze output from molecular dynamics (from free MD software LAMMPS). It typically has block of text mixed with blocks of data, and by ignoring lines that don't start with number (I also ignore single lines that contain a smaller number of numbers than the rest of the file -- but this is problably more controversial) i avoid the hassle with extracting data from the file. Marcin -- Marcin Wojdyr | http://www.unipress.waw.pl/~wojdyr/ _______________________________________________ Veusz-discuss mailing list [email protected] https://mail.gna.org/listinfo/veusz-discuss
