X-Git-Url: http://woldlab.caltech.edu/gitweb/?a=blobdiff_plain;f=htsworkflow%2Ffrontend%2Fsamples%2Fmodels.py;h=d7c70c239c037db3dd4fc77a8c67cc9cb5cb1678;hb=53a5a342ce2b08d948bf6011b120fbc64631b4d9;hp=5126bb504eb21f723e5845489c8085fdfbbb35a0;hpb=3247ec835adc72be7f9fc66fcf4f177cbe302d04;p=htsworkflow.git diff --git a/htsworkflow/frontend/samples/models.py b/htsworkflow/frontend/samples/models.py index 5126bb5..d7c70c2 100644 --- a/htsworkflow/frontend/samples/models.py +++ b/htsworkflow/frontend/samples/models.py @@ -156,7 +156,7 @@ class Library(models.Model): id = models.CharField(max_length=10, primary_key=True) library_name = models.CharField(max_length=100, unique=True) library_species = models.ForeignKey(Species) - hidden = models.BooleanField() + hidden = models.BooleanField(default=False) account_number = models.CharField(max_length=100, null=True, blank=True) cell_line = models.ForeignKey(Cellline, blank=True, null=True, verbose_name="Background") @@ -207,7 +207,7 @@ class Library(models.Model): # note \u00b5 is the micro symbol in unicode successful_pM = models.DecimalField(max_digits=9, decimal_places=1, blank=True, null=True) - ten_nM_dilution = models.BooleanField() + ten_nM_dilution = models.BooleanField(default=False) gel_cut_size = models.IntegerField(default=225, blank=True, null=True) insert_size = models.IntegerField(blank=True, null=True) notes = models.TextField(blank=True)