Skip to content

Commit

Permalink
Merge pull request #327 from ncihtan/fix-filename-regex
Browse files Browse the repository at this point in the history
Fix filename regex
  • Loading branch information
adamjtaylor authored Dec 8, 2023
2 parents a533977 + 575b640 commit 9b6948a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion HTAN.model.csv
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Sequencing,Module for next generation sequencing assays,,,,FALSE,Assay,,,
Component,"Category of metadata (e.g. Diagnosis, Biospecimen, scRNA-seq Level 1, etc.); provide the same one for all items/rows.",,,,TRUE,,,https://w3id.org/biolink/vocab/category,
Patient,HTAN patient,,"Component, HTAN Participant ID",,FALSE,Individual Organism,"Demographics, Family History, Exposure, Follow Up, Diagnosis, Therapy, Molecular Test",,
File,A type of Information Content Entity specific to OS,,,,FALSE,Information Content Entity,,https://w3id.org/biolink/vocab/DataFile,
Filename,Name of a file,,,,TRUE,,,,regex search ^(([a-zA-Z0-9\_\-\.\+\(\'\)\ ]+\/)+[a-zA-Z0-9\_\-\.\+\(\'\)]+)$
Filename,Name of a file,,,,TRUE,,,,regex search ^(([a-zA-Z0-9\_\-\.\+\(\'\)\ ]+/)+[a-zA-Z0-9\_\-\.\+\(\'\)]+)$
File Format,"Format of a file (e.g. txt, csv, fastq, bam, etc.)","hdf5, bedgraph, idx, idat, bam, bai, excel, powerpoint, tif, tiff, OME-TIFF, png, doc, pdf, fasta, fastq, sam, vcf, bcf, maf, bed, chp, cel, sif, tsv, csv, txt, plink, bigwig, wiggle, gct, bgzip, zip, seg, html, mov, hyperlink, svs, md, flagstat, gtf, raw, msf, rmd, bed narrowPeak, bed broadPeak, bed gappedPeak, avi, pzfx, fig, xml, tar, R script, abf, bpm, dat, jpg, locs, Sentrix descriptor file, Python script, sav, gzip, sdf, RData, hic, ab1, 7z, gff3, json, sqlite, svg, sra, recal, tranches, mtx, tagAlign, dup, DICOM, czi, mex, cloupe, am, cell am, mpg, m, mzML,scn, dcc, rcc, pkc",,,TRUE,,,,
Checksum,MD5 checksum of the BAM file,,,,TRUE,Information Content Entity,,,
HTAN Data File ID,Self-identifier for this data file - HTAN ID of this file HTAN ID SOP (eg HTANx_yyy_zzz),,,,TRUE,File,,https://docs.google.com/document/d/1podtPP8L1UNvVxx9_c_szlDcU1f8n7bige6XA_GoRVM/edit?usp=sharing,regex match ^(HTA([1-9]|1[0-6]))_((EXT)?([0-9]\d*|0000))_([0-9]\d*|0000)$ warning
Expand Down
2 changes: 1 addition & 1 deletion HTAN.model.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -2476,7 +2476,7 @@
"sms:displayName": "Filename",
"sms:required": "sms:true",
"sms:validationRules": [
"regex search ^(([a-zA-Z0-9\\_\\-\\.\\+\\(\\'\\)\\ ]+\\/)+[a-zA-Z0-9\\_\\-\\.\\+\\(\\'\\)]+)$"
"regex search ^(([a-zA-Z0-9\\_\\-\\.\\+\\(\\'\\)\\ ]+/)+[a-zA-Z0-9\\_\\-\\.\\+\\(\\'\\)]+)$"
]
},
{
Expand Down

0 comments on commit 9b6948a

Please sign in to comment.