More cleanup
This commit is contained in:
parent
e61edd0db9
commit
4a418cd473
58 changed files with 198 additions and 195 deletions
|
@ -1,13 +1,5 @@
|
|||
import * as Parameters from "./parameters.mjs";
|
||||
|
||||
function createBuildup(simple, buildup) {
|
||||
let ligSet = new Set();
|
||||
for (const s of buildup) {
|
||||
if (!simple[s]) throw new Error("Cannot find simple ligation group " + s);
|
||||
ligSet.add(simple[s].ligGroup);
|
||||
}
|
||||
return Array.from(ligSet);
|
||||
}
|
||||
export function applyLigationData(data, para, argv) {
|
||||
const defaultBuildup = {};
|
||||
const hives = {};
|
||||
|
@ -44,3 +36,12 @@ export function applyLigationData(data, para, argv) {
|
|||
);
|
||||
}
|
||||
}
|
||||
|
||||
function createBuildup(simple, buildup) {
|
||||
let ligSet = new Set();
|
||||
for (const s of buildup) {
|
||||
if (!simple[s]) throw new Error("Cannot find simple ligation group " + s);
|
||||
ligSet.add(simple[s].ligGroup);
|
||||
}
|
||||
return Array.from(ligSet);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue