Allow replicates 5 & 6
authorDiane Trout <diane@caltech.edu>
Thu, 13 Oct 2011 21:17:19 +0000 (14:17 -0700)
committerDiane Trout <diane@caltech.edu>
Thu, 13 Oct 2011 21:17:19 +0000 (14:17 -0700)
htsworkflow/frontend/samples/models.py

index d1ab6607e775562370838069031f8400a5659593..b81b122111332c1b695541cfba3cef058f822a61 100644 (file)
@@ -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)