-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
examples in slot slope gradient
don't validate
#1353
Comments
good catch. we are inheriting this from an old version of MIxS. I will check v6.2 to see if the examples that violate our expectations are still there. if they aren't, then I need to get my act together and update the import process to use v6.2, which will require lots of review form tohers alternatively we could do either or both of these:
|
Pending your inspection of 'if examples that violate our expectations are still there' ... If MIxS still has invalid examples If MIxS has removed the invalid examples @turbomam thoughts? |
I forgot to look last week. I'll do it now. |
I wonder where those examples came from? I don't see them in MIxS 6.0-6.2 Transposed rows from MIxS 6.1 "mixs_v6.xlsx"
MIxS v6.2.0 documentation pagelinkml source for the slot, v6.2.0:name: slope_gradient
annotations:
Preferred_unit:
tag: Preferred_unit
value: percentage
description: Commonly called 'slope'. The angle between ground surface and a horizontal
line (in percent). This is the direction that overland water would flow. This measure
is usually taken with a hand level meter or clinometer
title: slope gradient
from_schema: https://w3id.org/mixs
keywords:
- slope
slot_uri: MIXS:0000646
alias: slope_gradient
domain_of:
- Agriculture
- Soil
range: string
pattern: ^[-+]?[0-9]*\.?[0-9]+(?:[eE][-+]?[0-9]+)?( *- *[-+]?[0-9]*\.?[0-9]+(?:[eE][-+]?[0-9]+)?)?
*([^\s-]{1,2}|[^\s-]+.+[^\s-]+)$
structured_pattern:
syntax: ^{scientific_float}( *- *{scientific_float})? *{text}$
interpolated: true
partial_match: true |
Regexr sandbox for the current submission-schema examples vs the MIxS 6.2.0 validation pattern |
If you look at the
|
As far as I am concerned we can assert whatever examples we want in the @pkalita-lbl and @mslarae13 this is the kind of thing we will have to keep an eye on when we switch to importing MIxS terms directly from https://github.com/GenomicsStandardsConsortium/mixs/blob/v6.2.0/src/mixs/schema/mixs.yaml. See |
@mslarae13 I have emphasize a minimal number of abstracted |
Thanks @turbomam forgot we added those! Regardless, I think it's the same solution. It's weird to allow "10 %" and not "10%". |
See here
slot slope_gradient has 10% as a valid example but it won't validate with out a
.. so 10 %
The text was updated successfully, but these errors were encountered: