Skip to content
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

Remove mock component from data model #37

Merged
merged 8 commits into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions example.model.csv
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Biospecimen,,,"Sample ID, Patient ID, Tissue Status, Component",,FALSE,DataType,
Sample ID,,,,,TRUE,DataProperty,,,
Tissue Status,,"Healthy, Malignant",,,TRUE,DataProperty,,,
Bulk RNA-seq Assay,,,"Filename, Sample ID, File Format, Component",,FALSE,DataType,Biospecimen,,
Filename,,,,,TRUE,DataProperty,,,#MockFilename filenameExists^^
Filename,,,,,TRUE,DataProperty,,,#Filename filenameExists^^
File Format,,"FASTQ, BAM, CRAM, CSV/TSV",,,TRUE,DataProperty,,,
BAM,,,Genome Build,,FALSE,ValidValue,,,
CRAM,,,"Genome Build, Genome FASTA",,FALSE,ValidValue,,,
Expand All @@ -36,4 +36,3 @@ Check Match Exactly values,,,,,TRUE,DataProperty,,,matchExactlyOne MockComponent
Check Ages,,,,,TRUE,DataProperty,,,protectAges
Check Unique,,,,,TRUE,DataProperty,,,unique error
Check Range,,,,,TRUE,DataProperty,,,inRange 50 100 error
MockFilename,,,"Component, Filename",,FALSE,DataType,,,
27 changes: 1 addition & 26 deletions example.model.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@
"sms:displayName": "Filename",
"sms:required": "sms:true",
"sms:validationRules": {
"MockFilename": "filenameExists"
"Filename": "filenameExists"
}
},
{
Expand Down Expand Up @@ -1351,31 +1351,6 @@
"sms:displayName": "gh",
"sms:required": "sms:false",
"sms:validationRules": []
},
{
"@id": "bts:MockFilename",
"@type": "rdfs:Class",
"rdfs:comment": "TBD",
"rdfs:label": "MockFilename",
"rdfs:subClassOf": [
{
"@id": "bts:DataType"
}
],
"schema:isPartOf": {
"@id": "http://schema.biothings.io"
},
"sms:displayName": "MockFilename",
"sms:required": "sms:false",
"sms:requiresDependency": [
{
"@id": "bts:Component"
},
{
"@id": "bts:Filename"
}
],
"sms:validationRules": []
}
],
"@id": "http://schema.biothings.io/#0.1"
Expand Down
Loading