projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04b1b40
)
Allow replicates 5 & 6
author
Diane Trout
<diane@caltech.edu>
Thu, 13 Oct 2011 21:17:19 +0000
(14:17 -0700)
committer
Diane Trout
<diane@caltech.edu>
Thu, 13 Oct 2011 21:17:19 +0000
(14:17 -0700)
htsworkflow/frontend/samples/models.py
patch
|
blob
|
history
diff --git
a/htsworkflow/frontend/samples/models.py
b/htsworkflow/frontend/samples/models.py
index d1ab6607e775562370838069031f8400a5659593..b81b122111332c1b695541cfba3cef058f822a61 100644
(file)
--- 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)