show cr and clean samples page

This commit is contained in:
Pritimay Sarkar
2024-02-07 10:20:49 +05:30
parent f7071a2ff5
commit 870c3a4dcb

View File

@@ -49,27 +49,25 @@ const Samples = () => {
<table id="samples-table">
<tr>
<th>Sample Name</th>
<th>Pdr Class</th>
<th>CRes</th>
<th>Dev Ratio Class</th>
<th>SR Class</th>
<th>PDR</th>
<th>Dev Ratio</th>
<th>Slope Ratio</th>
<th>led1Sample</th>
<th>led1Sam.</th>
{/* <th>led2Average</th> */}
<th>led2Sample</th>
<th>led3Sample</th>
<th>led4Sample</th>
<th>led2Sam.</th>
<th>led3Sam.</th>
<th>led4Sam.</th>
<th>Device</th>
<th>Time</th>
</tr>
{samples.map((sample, index) => (
<tr key={index} className='samples-table-tr'>
<td>{sample.name || sample._id}</td>
<td>{sample.prdClassification}</td>
<td>{sample.classificationResult}</td>
<td>{sample.deviceRatioClass}</td>
<td>{sample.slopeRatioClass}</td>
<td>{sample?.predictedDenovixRatio?.toFixed(4)}</td>
<td>{sample?.deviceRatio?.toFixed(4)}</td>
<td>{sample?.slopeRatio?.toFixed(4)}</td>
<td>{sample.led1Sample || 'NA'}</td>