//For backwards/forwards compatibility
//We used to put path in the serverURL field
ResourceLocator dbLocator = new ResourceLocator(locator.getDBUrl());
if (".seg".equals(locator.getTypeString())) {
//TODO Don't hardcode table name, this might note even be right for our target case
SegmentedAsciiDataSet ds = (new SegmentedSQLReader(dbLocator, "CNV", genome)).load();
loadSegTrack(locator, newTracks, genome, ds);
} else {
(new SampleInfoSQLReader(dbLocator, "SAMPLE_INFO", "SAMPLE_ID_ARRAY")).load();
}
}