New Lane Table migration progress.
[htsworkflow.git] / htsworkflow / frontend / experiments / models.py
index 0ddcf61d831847f49a668073fe846f18b52b71e1..690c18bdc99c824da8fedd31fec5ad2914ffa404 100755 (executable)
@@ -22,6 +22,9 @@ try:
 except ValueError,e:
   logging.error("invalid value for frontend.default_pm")
 
+
+  
+
 class FlowCell(models.Model):
   
   flowcell_id = models.CharField(max_length=20, unique=True, db_index=True)
@@ -159,3 +162,12 @@ class DataRun(models.Model):
     str += '</div>'    
     return str
   Flowcell_Info.allow_tags = True
+
+
+class Lane(models.Model):
+  flowcell = models.ForeignKey(FlowCell)
+  lane_number = models.IntegerField(choices=[(1,1),(2,2),(3,3),(4,4),(5,5),(6,6),(7,7),(8,8)])
+  library = models.ForeignKey(Library)
+  pm = models.DecimalField(max_digits=5, decimal_places=2,blank=False, null=False,default=default_pM)
+  cluster_estimate = models.IntegerField(blank=True, null=True)
+  comment = models.TextField(null=True, blank=True)