X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=blobdiff_plain;f=htsworkflow%2Ffrontend%2Fexperiments%2Fmodels.py;h=6c952db1bb431b9f136600e3ec5849f25ebcf78a;hp=ce2f6b7dea877106ba81e154451be6b1ffee9786;hb=9281a846fbdf67214d30b96dd827a590644a54a3;hpb=11b3dcf63286b5b07dfd278e0c96a7fb8f8266f2 diff --git a/htsworkflow/frontend/experiments/models.py b/htsworkflow/frontend/experiments/models.py index ce2f6b7..6c952db 100644 --- a/htsworkflow/frontend/experiments/models.py +++ b/htsworkflow/frontend/experiments/models.py @@ -395,7 +395,7 @@ class FileType(models.Model): name = models.CharField(max_length=50) mimetype = models.CharField(max_length=50, null=True, blank=True) # regular expression from glob.fnmatch.translate - regex = models.CharField(max_length=50, null=True, blank=True) + regex = models.TextField(null=True, blank=True) def parse_filename(self, pathname): """Does filename match our pattern?