Fix bar's ranks
This commit is contained in:
parent
e719992f2c
commit
f0262ba5f8
6 changed files with 18 additions and 17 deletions
|
@ -245,7 +245,7 @@ module.exports = async function getLigationData() {
|
|||
|
||||
function buildLigationSet(ligData, getKey) {
|
||||
const ligationSets = new Map([
|
||||
["*off", { tag: "calt", switch: "off", desc: "Ligation Off", brief: "Off", ligSets: [] }]
|
||||
["*off", { tag: "calt", rank: 0, desc: "Ligation Off", brief: "Off", ligSets: [] }]
|
||||
]);
|
||||
for (const sel in ligData.composite) {
|
||||
const comp = ligData.composite[sel];
|
||||
|
@ -259,6 +259,7 @@ function buildLigationSet(ligData, getKey) {
|
|||
}
|
||||
item = {
|
||||
tag: comp.tag,
|
||||
rank: 1,
|
||||
ligSets: [...ligSets],
|
||||
tagName: comp.tag,
|
||||
desc: comp.desc,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue