diff --git a/fileops.js b/fileops.js index a70060f..a9600cc 100644 --- a/fileops.js +++ b/fileops.js @@ -51,6 +51,8 @@ var loadFile = function(text, dataStart, xCol, yCol, grpCol) { ds.groupNames.push(thisGroupName); thisGroup = ds.groupNames.indexOf(thisGroupName); + } else { + ds.groupNames = ["unnamed"]; } if (!ds.groups[thisGroup]) {