Skip to content

Commit

Permalink
Remove #Filename from filenameExists rule (#38)
Browse files Browse the repository at this point in the history
* Add data_model_labels parameter to template creation workflow

* add filenameExists rule

* Add MockFilename

* remove mockcomponent

* remove #Filename from filenameExists rule
  • Loading branch information
afwillia authored Oct 2, 2024
1 parent 56dc745 commit c579e8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 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,,,#Filename filenameExists^^
Filename,,,,,TRUE,DataProperty,,,filenameExists^^
File Format,,"FASTQ, BAM, CRAM, CSV/TSV",,,TRUE,DataProperty,,,
BAM,,,Genome Build,,FALSE,ValidValue,,,
CRAM,,,"Genome Build, Genome FASTA",,FALSE,ValidValue,,,
Expand Down
2 changes: 1 addition & 1 deletion 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": {
"Filename": "filenameExists"
"all_other_components": "filenameExists"
}
},
{
Expand Down

0 comments on commit c579e8f

Please sign in to comment.