Skip to content

Update definition area samp size#1079

Open
Woolly-at-EBI wants to merge 2 commits intomainfrom
update-definition-area_samp_size
Open

Update definition area samp size#1079
Woolly-at-EBI wants to merge 2 commits intomainfrom
update-definition-area_samp_size

Conversation

@Woolly-at-EBI
Copy link
Copy Markdown
Collaborator

Currently in v6.2 the definitions of area_samp_size and samp_size are both identical. The current definition is "The total amount or size (volume (ml), mass (g) or area (m2) ) of sample collected."
The proposal here is for area_samp_size to have a cleaner more differentiated definition.

(My preference would be that that this was explicitly an area so could be say 144 cm^2 rather than a dimension 12 cm x 12 cm. Could then cope with non-quadrangles etc., but that is for another time))

Currently in v6.2 the definitions of area_samp_size and samp_size are both identical. The current definition is "The total amount or size (volume (ml), mass (g) or area (m2) ) of sample collected."
The proposal here is for area_samp_size to have a cleaner more differentiated definition. (My preference would be that that this was explicitly an area so could be say 144 cm^2 rather than a dimension 12 cm x 12 cm. Could then cope with non-quadrangles etc., but that is for another time))
@Woolly-at-EBI Woolly-at-EBI added the 1-TermUpdate Update suggestion for existing term, including bugs. Issues from "cig-bug" label moved here. label Dec 5, 2025
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Dec 5, 2025

LinkML Linting Results

Summary

Count
Schemas Checked 1
Schemas with Error 0
Schemas with Warning 0
Total Errors 0
Total Warnings 0

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Dec 5, 2025

PR Preview Action v1.6.3

🚀 View preview at
https://GenomicsStandardsConsortium.github.io/mixs/pr-preview/pr-1079/

Built to branch gh-pages at 2025-12-05 09:14 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@mslarae13
Copy link
Copy Markdown
Collaborator

Lets add an issue to link this PR to.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the MIxS schema to better differentiate area_samp_size from samp_size by refining the area_samp_size definition.

Changes:

  • Updated area_samp_size description to focus specifically on the sampling area.
  • Updated the area_samp_size example value.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +4521 to +4524
description: The total area over which the sample was collected
title: area sampled size
examples:
- value: 12 centimeter x 12 centimeter
- value: 12 cm x 12 cm
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

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

The updated description reads like this slot expects a single area value, but the current serialization pattern and example still represent two linear dimensions ({integer} {unit} x {integer} {unit}) with Preferred_unit: centimeter. Consider either (a) revising the description to explicitly say it captures the dimensions/extent of the sampled area, or (b) switching the slot to accept an area measurement (e.g., square centimeter) and updating Preferred_unit, string_serialization, and the example accordingly so they’re consistent.

Copilot uses AI. Check for mistakes.
@turbomam
Copy link
Copy Markdown
Member

I requested Copilot reviews here because I’m helping triage/review MIxS PRs, not because I authored them. If you have the same GitHub permissions and Copilot access, you can do the same on any PR. You’ll know you’re enabled if you can see the Copilot review option in the PR review UI or related actions; if not, you likely need org/repo access and a Copilot seat or feature enablement from the repo or GitHub org admins.

@turbomam
Copy link
Copy Markdown
Member

We've requested a GitHub Copilot review on this PR as part of a pass across all open MixS PRs. Copilot catches things like unused imports, resource leaks, and naming inconsistencies — it's a lightweight first pass, not a substitute for human review. No action needed from you unless Copilot flags something you agree with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1-TermUpdate Update suggestion for existing term, including bugs. Issues from "cig-bug" label moved here.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants