3D-Circle / in-fold-we-trust

CTB project
https://hp-folding.firebaseapp.com
2 stars 0 forks source link

Random errors thrown while folding #3

Closed TrakJohnson closed 6 years ago

TrakJohnson commented 6 years ago

TODO:

TrakJohnson commented 6 years ago
  54 | function gridFromCoordMap(aminoCoordMap, gridSize) {
  55 |     // this will blindly follow the coordinates specified in the obj
  56 |     let grid = empty2dArray(gridSize);
> 57 |     for (let aa of aminoCoordMap.keys()) {
  58 |  let coords = aa.split("-"); // TODO replace by lists instead of string
  59 |  grid[coords[0]][coords[1]] = aminoCoordMap.get(aa);
  60 |     }

Looks like it happpens when the user tries to fold beyond the grid border.
TrakJohnson commented 6 years ago

what closed by error

Pyxidatol-C commented 6 years ago

reopened by error too? 😏

TrakJohnson commented 6 years ago

No uh I reopened it cause its cooler closing it with a commit