Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
chgibb committed Oct 4, 2019
1 parent df21098 commit b81a8eb
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/req/renderer/containers/circularGenome/circularGenome.tsx
Expand Up @@ -80,33 +80,33 @@ export class CircularGenome extends React.Component<CircularGenomeProps,Circular
console.log("Rendering coverage track "+target);

let plasmid : Plasmid = new Plasmid();
plasmid.$scope = scope;
plasmid.$scope = scope;

let nodes : Array<Node> = await loadFromString(assembleCompilableCoverageTrack(this.props.figure,coverageTrack));

for(let i = 0; i != nodes.length; ++i)
{
if(nodes[i].name == "div")
{
for(let k = 0; k != nodes[i].children.length; ++k)
if(nodes[i].name == "div")
{
if(nodes[i].children[k].name == "plasmid")
for(let k = 0; k != nodes[i].children.length; ++k)
{
plasmid.fromNode(nodes[i].children[k]);
this.setState({
plasmidCache : [
...this.state.plasmidCache,
{
uuid : target,
plasmid : plasmid
}
]
});
if(nodes[i].children[k].name == "plasmid")
{
plasmid.fromNode(nodes[i].children[k]);
this.setState({
plasmidCache : [
...this.state.plasmidCache,
{
uuid : target,
plasmid : plasmid
}
]
});
}
}
}
}
}
}
}

return undefined;
Expand Down

0 comments on commit b81a8eb

Please sign in to comment.