From: Diane Trout Date: Thu, 13 Oct 2011 21:17:19 +0000 (-0700) Subject: Allow replicates 5 & 6 X-Git-Tag: v0.5.5~83^2~2 X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=25113ea9acb1883f3041031e5f6a2e77ceb4d83c Allow replicates 5 & 6 --- diff --git a/htsworkflow/frontend/samples/models.py b/htsworkflow/frontend/samples/models.py index d1ab660..b81b122 100644 --- a/htsworkflow/frontend/samples/models.py +++ b/htsworkflow/frontend/samples/models.py @@ -164,7 +164,7 @@ class Library(models.Model): Affiliation,related_name='library_affiliations',null=True) tags = models.ManyToManyField(Tag,related_name='library_tags', blank=True,null=True) - REPLICATE_NUM = ((1,1),(2,2),(3,3),(4,4)) + REPLICATE_NUM = [(x,x) for x in range(1,7)] replicate = models.PositiveSmallIntegerField(choices=REPLICATE_NUM, blank=True,null=True) experiment_type = models.ForeignKey(ExperimentType)