Skip to content

Easy metrics based on replicate and precursor annotation values#1210

Merged
ankurjuneja merged 18 commits into
release26.3-SNAPSHOTfrom
26.3_fb_Item1046
May 24, 2026
Merged

Easy metrics based on replicate and precursor annotation values#1210
ankurjuneja merged 18 commits into
release26.3-SNAPSHOTfrom
26.3_fb_Item1046

Conversation

@ankurjuneja
Copy link
Copy Markdown
Contributor

Rationale

https://github.com/LabKey/internal-issues/issues/1046

Related Pull Requests

Changes

  • Add AnnotationName column to QCMetricConfiguration to store the backing annotation name for annotation-based metrics
  • Extend OutlierGenerator SQL generation to join ReplicateAnnotation (run-scoped) or PrecursorChromInfoAnnotation (precursor-scoped) when a metric has an AnnotationName.
  • Add plain JS/jQuery dialog (AddNewAnnotationMetricWindow.js) for creating and editing annotation-backed metrics.

@ankurjuneja ankurjuneja marked this pull request as ready for review May 18, 2026 20:43
Copy link
Copy Markdown
Contributor

@labkey-jeckels labkey-jeckels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few minor suggestions and a larger request to make one of the other metric dialogs consistent with this new approach.

Comment thread resources/schemas/dbscripts/postgresql/targetedms-26.007-26.008.sql Outdated
Comment thread resources/views/configureQCMetric.html Outdated
});
jQuery('#createNewTraceMetricButton').click(function() {
LABKEY.internal.ConfigureQCMetrics.addNewMetric('trace')
LABKEY.internal.ConfigureQCMetrics.addNewMetric('trace');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use a constant here and other places, including for annotation

Comment thread resources/web/PanoramaPremium/window/AddNewAnnotationMetricWindow.js Outdated
Comment thread src/org/labkey/targetedms/outliers/OutlierGenerator.java
Comment thread resources/web/PanoramaPremium/window/AddNewAnnotationMetricWindow.js Outdated
Co-authored-by: Josh Eckels <jeckels@labkey.com>
@ankurjuneja ankurjuneja merged commit 2a853ab into release26.3-SNAPSHOT May 24, 2026
4 of 6 checks passed
@ankurjuneja ankurjuneja deleted the 26.3_fb_Item1046 branch May 24, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants