function getIDs() {
var myList = [];
var ods = [];
odFile.forEach((text, i) => {
const idO = String(text[0]);
const idD = String(text[1]);
const idZ = parseFloat(text[2]);
if (!myList.includes(idO)) {
myList.push(idO);
console.log(i, idO);
}
let odNew = {
orig: idO,
dest: idD,
flow: idZ
};
ods.push(odNew);
});
return ods;
}