fix typo
- remove unwanted code - fix dropdown bug - add bar graph for test count
This commit is contained in:
@@ -52,7 +52,7 @@ class AbsorbanceGraph extends Component {
|
||||
.then(response => response.data.text())
|
||||
.then((text) => {
|
||||
const testData = d3.csvParse(text.replaceAll('"', '')).filter(x => {
|
||||
if (x.NM > 350 && x.NM < 600
|
||||
if (x.NM > 350 && x.NM < 600
|
||||
&& x.CA !== "-Infinity" && x.CA !== "Infinity"
|
||||
&& !isNaN(x.CA)) return x;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user