Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed May 10, 2022
1 parent 70ec769 commit 76ab95c
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,6 @@ function inc(bin: any, strand: number, type: string, field: string) {
thisBin.total++
thisBin[strand]++
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function dec(bin: any, strand: number, type: string, field: string) {
let thisBin = bin[type][field]
if (thisBin === undefined) {
thisBin = bin[type][field] = { total: 0, '-1': 0, '0': 0, '1': 0 }
}
thisBin.total--
thisBin[strand]--
}

export default class SNPCoverageAdapter extends BaseFeatureDataAdapter {
protected async configure() {
Expand Down

0 comments on commit 76ab95c

Please sign in to comment.