Closed jingjtang closed 2 years ago
From @brookslogan
It's just that Firefox doesn't seem to give useful debug info. It doesn't work on Chromium either, but Chromium does give useful debug.
importCSV.ts:79 Uncaught TypeError: Cannot read properties of undefined (reading 'datasets')
at pi (importCSV.ts:79:23)
at HTMLFormElement.<anonymous> (ImportCSVDialog.svelte:31:7)
pi @ importCSV.ts:79
(anonymous) @ ImportCSVDialog.svelte:31
From clicking around in devtools:
active
rows
variable inside importCSV
seems weird: it just appears to be one long array of entries rather than something 2-D, and contains some bogus-looking entries, e.g., the 6th entry is "suscep_rateak", splicing together the last colum header and the first entry of the first non-header row. This may point to the issue being in csvParseRows
or other processing done to rows
+ unclear error messaging when no rows are recognized inside of importCSV
. [Actually, it looks like it's even earlier, where it looks like all the non-commented-out lines are concatenated together without any separator into a single lines
string; I'm assuming that the split
lines don't contain the "\n"s anymore.]@jingjtang do you have a sample CSV file I should test?
The current EpiVis system (https://delphi.cmu.edu/epivis/) does not allow importing files. At least it cannot work using Safari/Chrome/Firefox
However, this one (https://delphi.midas.cs.cmu.edu/epivis/epivis.html)) works.
From @korlaxxalrok
That alternate link at delphi.midas.cs.cmu.edu will go way soon and eventually redirect to delphi.cmu.edu, but it is interesting that it points to a working system.