Skip to content

Commit

Permalink
chore: fix prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
lpatiny committed May 1, 2024
1 parent 7f8e3c3 commit 7a33ab2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/from/utils/spectrumCallback.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function parseReflectance(variables) {
variables.k = {
data: variables.r.data.map((reflectance) => {
const absolute = reflectance / 100;
return ((1 - absolute) ** 2) / (2 * absolute);
return (1 - absolute) ** 2 / (2 * absolute);
}),
symbol: 'k',
label: ' F(R)',
Expand Down Expand Up @@ -75,7 +75,7 @@ function parseAbsorbance(variables) {
} else {
const factor =
yVariable.label.includes('%') ||
yVariable.label.toLowerCase().includes('percent')
yVariable.label.toLowerCase().includes('percent')
? 100
: 1;

Expand Down

0 comments on commit 7a33ab2

Please sign in to comment.