fix: small bug

This commit is contained in:
NunoSempere 2021-10-06 10:33:54 +02:00
parent cf17bf2f67
commit 9ed0f33c0a

View File

@ -8,7 +8,7 @@ import { DisplayElement } from '../lib/displayElement'
import { DisplayAsMarkdown } from '../lib/displayAsMarkdown'
import { CreateTableWithDistances } from '../lib/findPaths'
import { TextAreaForJson } from "../lib/textAreaForJson"
import { pushToMongo } from "./lib/pushToMongo.js"
import { pushToMongo } from "../lib/pushToMongo.js"
let increasingList = (n) => Array.from(Array(n).keys())
let buildLinks = quantitativeComparisons => quantitativeComparisons.map(([element1, element2, distance]) => ({ source: element1, target: element2, distance: distance }))