Skip to content

Commit

Permalink
Add stylized file types
Browse files Browse the repository at this point in the history
  • Loading branch information
gsfr committed Dec 6, 2017
1 parent 03dfcd1 commit 58d54ce
Showing 1 changed file with 36 additions and 26 deletions.
62 changes: 36 additions & 26 deletions bootstrap.sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,32 +27,42 @@
}
],
"filetypes": [
{ "_id": "bval", "regex": "\\.(bval|bvals)$" },
{ "_id": "bvec", "regex": "\\.(bvec|bvecs)$" },
{ "_id": "dicom", "regex": "\\.(dcm|dcm\\.zip|dicom\\.zip)$" },
{ "_id": "eeg", "regex": "\\.eeg\\.zip$" },
{ "_id": "gephysio", "regex": "\\.gephysio\\.zip$" },
{ "_id": "ismrmrd", "regex": "\\.(h5|hdf5)$" },
{ "_id": "MATLAB data", "regex": "\\.mat$" },
{ "_id": "MGH data", "regex": "\\.(mgh|mgz|mgh\\.gz)$" },
{ "_id": "nifti", "regex": "\\.(nii\\.gz|nii)$" },
{ "_id": "parrec", "regex": "\\.(parrec\\.zip|par-rec\\.zip)$" },
{ "_id": "pfile", "regex": "\\.(7\\.gz|7|7\\.zip)$" },
{ "_id": "PsychoPy data", "regex": "\\.psydat$" },
{ "_id": "qa", "regex": "\\.(qa\\.png|qa\\.json|qa\\.html)$" },
{ "_id": "BVAL", "regex": "\\.(bval|bvals)$" },
{ "_id": "BVEC", "regex": "\\.(bvec|bvecs)$" },
{ "_id": "DICOM", "regex": "\\.(dcm|dcm\\.zip|dicom\\.zip)$" },
{ "_id": "EFile", "regex": "^E.*P.*\\.7$" },
{ "_id": "GE Physio", "regex": "\\.gephysio\\.zip$" },
{ "_id": "MGH Data", "regex": "\\.(mgh|mgz|mgh\\.gz)$" },
{ "_id": "NIfTI", "regex": "\\.(nii\\.gz|nii)$" },
{ "_id": "PAR/REC", "regex": "\\.(parrec\\.zip|par-rec\\.zip)$" },
{ "_id": "PFile Header", "regex": "\\.(7\\.hdr)$" },
{ "_id": "PFile", "regex": "\\.(7\\.gz|7|7\\.zip)$" },

{ "_id": "archive", "regex": "\\.(zip|tbz2|tar\\.gz|tbz|tar\\.bz2|tgz|tar|txz|tar\\.xz)$" },
{ "_id": "document", "regex": "\\.(docx|doc)$" },
{ "_id": "image", "regex": "\\.(jpg|tif|jpeg|gif|bmp|png|tiff)$" },
{ "_id": "markup", "regex": "\\.(html|htm|xml)$" },
{ "_id": "markdown", "regex": "\\.(md|markdown)$" },
{ "_id": "log", "regex": "\\.log$" },
{ "_id": "pdf", "regex": "\\.pdf$" },
{ "_id": "presentation", "regex": "\\.(ppt|pptx)$" },
{ "_id": "source code", "regex": "\\.(c|py|cpp|js|m|json|java|php|css|toml|yaml|yml)$" },
{ "_id": "spreadsheet", "regex": "\\.(xls|xlsx)$" },
{ "_id": "tabular data", "regex": "\\.(csv\\.gz|csv)$" },
{ "_id": "text", "regex": "\\.txt$" },
{ "_id": "video", "regex": "\\.(mpeg|mpg|mov|mp4|m4v|mts)$" }
{ "_id": "EEG", "regex": "\\.eeg\\.zip$" },

{ "_id": "QC", "regex": "\\.(q[ac]\\.png|q[ac]\\.json|q[ac]\\.html)$" },

{ "_id": "MATLAB Data", "regex": "\\.mat$" },
{ "_id": "PsychoPy Data", "regex": "\\.psydat$" },

{ "_id": "Archive", "regex": "\\.(zip|tbz2|tar\\.gz|tbz|tar\\.bz2|tgz|tar|txz|tar\\.xz)$" },
{ "_id": "Audio", "regex": "\\.(mp3|wav|wave)$" },
{ "_id": "Document", "regex": "\\.(docx|doc)$" },
{ "_id": "HDF5", "regex": "\\.(h5|hdf5)$" },
{ "_id": "Image", "regex": "\\.(jpg|tif|jpeg|gif|bmp|png|tiff)$" },
{ "_id": "JSON", "regex": "\\.json$" },
{ "_id": "Log", "regex": "\\.log$" },
{ "_id": "Markdown", "regex": "\\.(md|markdown)$" },
{ "_id": "Markup", "regex": "\\.(html|htm)$" },
{ "_id": "PDF", "regex": "\\.pdf$" },
{ "_id": "Plain Text", "regex": "\\.txt$" },
{ "_id": "Presentation", "regex": "\\.(ppt|pptx)$" },
{ "_id": "Source code", "regex": "\\.(c|py|cpp|js|m|json|java|php|css|toml|yaml|yml)$" },
{ "_id": "Spreadsheet", "regex": "\\.(xls|xlsx)$" },
{ "_id": "TOML", "regex": "\\.toml$" },
{ "_id": "Tabular data", "regex": "\\.([ct]sv\\.gz|[ct]sv)$" },
{ "_id": "Video", "regex": "\\.(mpeg|mpg|mov|mp4|m4v|mts)$" },
{ "_id": "XML", "regex": "\\.xml$" },
{ "_id": "YAML", "regex": "\\.(yaml|yml)$" }
]
}

0 comments on commit 58d54ce

Please sign in to comment.