Skip to content

Commit

Permalink
drop console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
hpratt committed Feb 6, 2020
1 parent 8c19b58 commit b318c7f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/logo/logo.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,7 @@ const Logo = React.forwardRef(
pfm = r.pfm;
count = r.count || 1;
}
console.log(relativePseudocount, pfm, pfm && pfm.map && pfm.map( x => x.reduce( (t, v, i) => i === undefined ? t : v + t, 0.0 )));
const sums = relativePseudocount && pfm && pfm.map && pfm.map( x => x.reduce( (t, v, i) => i === undefined ? t : v + t, 0.0 )).map( x => x === 0 ? 0 : (alphabet.length - 1) / (2 * Math.log(2) * x));
console.log(sums);
if (!ppm && pfm && pfm.map)
ppm = pfm.map( (column, i) => {
const sum = (count && countUnaligned ? count : column.reduce( (a, c) => a + c, 0.0 ) + pseudocount * alphabet.length) || 1;
Expand Down

0 comments on commit b318c7f

Please sign in to comment.