Skip to content

Commit

Permalink
fix(addSerie): allows to force serie addition
Browse files Browse the repository at this point in the history
  • Loading branch information
maasencioh committed Jun 27, 2017
1 parent a2d39bc commit e2d4181
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Chromatogram.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export class Chromatogram {
calculateTic(options = {}) {
if (!this.getSerie('tic') || options.force) {
let tic = calculateTic(this);
this.addSerie('tic', tic);
this.addSerie('tic', tic, options);
}
}

Expand All @@ -200,7 +200,7 @@ export class Chromatogram {
calculateBpc(options = {}) {
if (!this.getSerie('bpc') || options.force) {
let bpc = calculateBpc(this);
this.addSerie('bpc', bpc);
this.addSerie('bpc', bpc, options);
}
}

Expand Down

0 comments on commit e2d4181

Please sign in to comment.