From c579e8fbf8eb6de7e19174a036fc0ec86b0f5af4 Mon Sep 17 00:00:00 2001 From: Anthony Williams Date: Wed, 2 Oct 2024 11:44:35 -0700 Subject: [PATCH] Remove #Filename from filenameExists rule (#38) * Add data_model_labels parameter to template creation workflow * add filenameExists rule * Add MockFilename * remove mockcomponent * remove #Filename from filenameExists rule --- example.model.csv | 2 +- example.model.jsonld | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example.model.csv b/example.model.csv index d860c68..2bc4314 100644 --- a/example.model.csv +++ b/example.model.csv @@ -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,,, diff --git a/example.model.jsonld b/example.model.jsonld index 55bce21..939db6d 100644 --- a/example.model.jsonld +++ b/example.model.jsonld @@ -612,7 +612,7 @@ "sms:displayName": "Filename", "sms:required": "sms:true", "sms:validationRules": { - "Filename": "filenameExists" + "all_other_components": "filenameExists" } }, {