Open junxini opened 5 months ago
Here is a sample query for getting some of the basic information for this page:
query annotation_table_query($run_id: Int) {
annotations(order_by: {ground_truth_used: desc, deposition_date: desc}, where: {tomogram_voxel_spacing: {run_id: {_eq: $run_id}}}) {
id
ground_truth_status
deposition_date
files_aggregate(distinct_on: shape_type) {
nodes {
shape_type
}
}
confidence_precision
confidence_recall
object_name
authors(order_by: {author_list_order: asc}) {
author_list_order
name
id
orcid
}
}
ground_truth_count:annotations_aggregate(where: {tomogram_voxel_spacing: {run_id: {_eq: $run_id}}, ground_truth_status: {_eq: true}}) {
aggregate {
count(columns: id)
}
}
other_annotation_count:annotations_aggregate(where: {tomogram_voxel_spacing: {run_id: {_eq: $run_id}}, ground_truth_status: {_eq: false}}) {
aggregate {
count(columns: id)
}
}
}
currently blocked, we need backend support to query the ground truth and non-ground truth annotation counts cc: @manasaV3
currently blocked, we need backend support to query the ground truth and non-ground truth annotation counts cc: @manasaV3
@manasaV3 Jeremy mentioned there's a backend ticket for this, could you help link when you have a chance?
Description: Table section dividers are added to more easily identify which annotations are ground truth
Tasks:
Link to design: https://www.figma.com/file/gwX2PjfGPfMrbEWMMJq6rW/H1-2024---Annotations-Table-Update?node-id=561%3A162957&mode=dev