diff --git a/components/report_cards/chemical_probe/CellViabilityAndHealthComponents/CellPropsRows/ImagesInTime/ImagesDialog.vue b/components/report_cards/chemical_probe/CellViabilityAndHealthComponents/CellPropsRows/ImagesInTime/ImagesDialog.vue index 063c44666ea88ec6bb77b24fd1d1d7262ff3d448..9b4c9b1095e09dcd671dacff58852e338da277d6 100644 --- a/components/report_cards/chemical_probe/CellViabilityAndHealthComponents/CellPropsRows/ImagesInTime/ImagesDialog.vue +++ b/components/report_cards/chemical_probe/CellViabilityAndHealthComponents/CellPropsRows/ImagesInTime/ImagesDialog.vue @@ -74,7 +74,7 @@ <v-col cols="12" sm="6"> <b>Img URL:</b><br /> - <a href="replicateData.img_url"> + <a :href="replicateData.img_url"> {{ replicateData.img_url }}</a > <br /><br /> diff --git a/components/report_cards/chemical_probe/CellViabilityAndHealthComponents/CellPropsRows/PropertiesDetails/PropertiesDetailsDialog.vue b/components/report_cards/chemical_probe/CellViabilityAndHealthComponents/CellPropsRows/PropertiesDetails/PropertiesDetailsDialog.vue index 2838ce55184faa6051920eb2779beffd2f5da73b..9be4bd007b6b5ee261208360a1111bbbe4bd6072 100644 --- a/components/report_cards/chemical_probe/CellViabilityAndHealthComponents/CellPropsRows/PropertiesDetails/PropertiesDetailsDialog.vue +++ b/components/report_cards/chemical_probe/CellViabilityAndHealthComponents/CellPropsRows/PropertiesDetails/PropertiesDetailsDialog.vue @@ -27,16 +27,30 @@ v-for="rowData in getActivityRows(actData.byTimePoints)" :key="rowData.timePoint" > - <td>{{ rowData.timePoint }}</td> - <td> - <a :href="getLinkToAssay(chemblID)">{{ - rowData.assayChemblID - }}</a> - </td> + <template v-if="rowData.replicateNumber > 0"> + <td>{{ rowData.timePoint }}</td> + <td> + <a :href="getLinkToAssay(chemblID)">{{ + rowData.assayChemblID + }}</a> + </td> - <td>{{ rowData.replicateNumber }}</td> - <td>{{ rowData.standardValue }}</td> - <td>{{ rowData.standardUnits }}</td> + <td>{{ rowData.replicateNumber }}</td> + <td>{{ rowData.standardValue }}</td> + <td>{{ rowData.standardUnits }}</td> + </template> + + <template v-else> + <td></td> + <td></td> + <td> + <b>{{ rowData.assayChemblID }}</b> + </td> + <td> + <b>{{ rowData.standardValue }}</b> + </td> + <td></td> + </template> </tr> </tbody> </v-simple-table> @@ -91,6 +105,22 @@ export default { standardUnits: replicateData.standard_units, }) } + + // average + rows.push({ + timePoint, + assayChemblID: 'AVG', + replicateNumber: -1, + standardValue: timePointData.summary.avg, + }) + + // std dev + rows.push({ + timePoint, + assayChemblID: 'STD', + replicateNumber: -2, + standardValue: timePointData.summary.std, + }) } return rows