microbiomedata / sheets_and_friends

Enhance a LinkML model with imported and optionally modified slots
0 stars 0 forks source link

Water content validation and structure #148

Closed mslarae13 closed 1 year ago

mslarae13 commented 1 year ago

Relates to https://github.com/microbiomedata/sheets_and_friends/issues/143 which was the interim fix.

Need to improve how we will validate water content and how we will parse it.

ssarrafan commented 1 year ago

@mslarae13 @turbomam is this actively being worked on?

pkalita-lbl commented 1 year ago

The task here is to add these examples from the linked issue into the checked examples in the submission schema repo as well as examples shown to the user in DH:

percent dry or wet weight % (75%, 75 %, .75) g of water / g dry soil (5 g water / g dry soil) cubic centimeter per cubic centimeter Water holding capacity (0.75, 75% water, .75 g water per g soil WHC) water filled pore space (60% WFPS)

pkalita-lbl commented 1 year ago

End of sprint update: this one came in late, but I intend to work on it in the next sprint.

pkalita-lbl commented 1 year ago

continue to next sprint

mslarae13 commented 1 year ago

Make water content method an enumeration? Flexible enough to put a DOI with the enumerations? Must be URL encodable, but it's manageable Giver permissible values that says WHC, meaning this DOI describing the protocol. If users didn't follow one of these they should submit a ticket or issue or feed back to request an additional method be added to the enumeration

Montana will work with Patrick to get the enumerated values for method of water capacity

Don't smoosh the text and the meaning into the drop down. Leave the text as "water filled pore space"

Could we make the side bar in DH should link to the web documentation page?

pkalita-lbl commented 1 year ago

So that path forward based on my understanding of today's discussion in the submission portal squad meeting:

pkalita-lbl commented 1 year ago

This isn't going to be finished in this sprint since we kind of needed to change direction on it last minute. At this point the next step is for @mslarae13 and me to put an initial stake in the ground for "water content method" permissible values.

ssarrafan commented 1 year ago

I'll remove from sprint and add to the POST GSP backlog. @pkalita-lbl @mslarae13

mslarae13 commented 1 year ago

After 2 hours of attempting this.. I've made a discovery. NO ONE cites a methods paper... because methods papers don't exist... they reference books or International Organization for Standardization or other papers that reference other papers... and everyone simply adds.. we did this method (cite) in brief... and describes... so ... new suggestion... or maybe re-visiting a older suggestion... adding a units column.. and asking people to provide their own citations for methods.

This was MUCH harder than I expected it to be. I can provide enumerated units if we want.. but corresponding citations are going to be difficult.

@turbomam , @pkalita-lbl ... thoughts?

ssarrafan commented 1 year ago

Adding backlog label, removing from sprint.

mslarae13 commented 1 year ago

@pkalita-lbl ... @turbomam I could still use your thoughts on my comment above

mslarae13 commented 1 year ago

@ssarrafan goal is to have this done this sprint

pkalita-lbl commented 1 year ago

Sorry I guess I missed that comment somehow. I don't have strong feelings on it one way or the other. If you think a unit column makes the most sense I trust your judgement!

ssarrafan commented 1 year ago

@ssarrafan goal is to have this done this sprint

ok will add to current sprint

mslarae13 commented 1 year ago

Ok. let's do that then. Because putting value and units is messy and standard units with a protocol is looking impossible. @pkalita-lbl Can you add this slot?

pkalita-lbl commented 1 year ago

Recapping discussions with Mark and Montana:

Next steps:

ssarrafan commented 1 year ago

Based on last comment I'll move this to the next sprint.

pkalita-lbl commented 1 year ago

Changes are in the submission schema (https://github.com/microbiomedata/submission-schema/pull/124) and have been released as part of v7.6.5. Still need to bring that version into the submission portal.

pkalita-lbl commented 1 year ago

This update is now on https://data-dev.microbiomedata.org/

mslarae13 commented 1 year ago

@pkalita-lbl is this in prod?

pkalita-lbl commented 1 year ago

No. Last production portal release was June 9. Submission schema v7.6.5 went into the portal codebase about a week after that. Therefore, this change is still only available on dev.