microbiomedata / submission-schema

https://microbiomedata.github.io/submission-schema/
MIT License
1 stars 1 forks source link

Add modifications/patterns for new slot "infiltrations" #170

Closed bmeluch closed 8 months ago

bmeluch commented 8 months ago

Add lines in import_slots_regardless.tsv and modifications_long.tsv as described in the nmdc-schema PR for adding the infiltrations slot:

Then you would add a line like this to https://github.com/microbiomedata/submission-schema/blob/main/sheets_and_friends/tsv_in/import_slots_regardless.tsv

source class source file or URL slot section column order destination class
Biosample https://raw.githubusercontent.com/microbiomedata/nmdc-schema/v?.?.?/nmdc_schema/nmdc_materialized_patterns.yaml infiltrations ? ? SoilInterface

And lines like this to https://github.com/microbiomedata/submission-schema/blob/main/sheets_and_friends/tsv_in/modifications_long.tsv

class slot action target path LinkML implementation notes value
SoilInterface infiltrations overwrite_examples examples 00:01:32;00:00:53
SoilInterface infiltrations replace_attribute multivalued FALSE
SoilInterface infiltrations replace_attribute pattern ^(?:(?:[0-9]|[1-9][0-9]|9[0-9]|0[0-9]|0[0-5][0-9]):[0-5][0-9]:[0-5][0-9])(?:;(?:[0-9]|[1-9][0-9]|9[0-9]|0[0-9]|0[0-5][0-9]):[0-5][0-9]:[0-5][0-9])*$

Don't forget to fill in the cells where I left question marks ?

Originally posted by @turbomam in https://github.com/microbiomedata/nmdc-schema/issues/1483#issuecomment-1877667835

Related to https://github.com/microbiomedata/nmdc-schema/issues/1338, https://github.com/microbiomedata/issues/issues/417

bmeluch commented 8 months ago

Work done in branch 158-addremove-slots-in-submission-portal-interfaces-for-emsl-compatibility since this is related to the new EMSL slots