For one of our more recent libraries, the successful_pM had more digits
authorDiane Trout <diane@caltech.edu>
Wed, 4 Mar 2009 01:13:55 +0000 (01:13 +0000)
committerDiane Trout <diane@caltech.edu>
Wed, 4 Mar 2009 01:13:55 +0000 (01:13 +0000)
that was allowed, so I bumped up the setting.
Also I changed the u in ul to \00b5l (so in most browsers it will
render as a micro)

htsworkflow/frontend/samples/models.py

index c43f11139e4fc8167d749e205039a81cc1ced3fe..2845e81d93317031d2e263765c82200a231e5d63 100644 (file)
@@ -156,8 +156,9 @@ class Library(models.Model):
   
   undiluted_concentration = models.DecimalField("Concentration", 
       max_digits=5, decimal_places=2, default=0, blank=True, null=True,
-      help_text="Undiluted concentration (ng/ul)")
-  successful_pM = models.DecimalField(max_digits=5, decimal_places=2, blank=True, null=True)
+      help_text=u"Undiluted concentration (ng/\u00b5l)") 
+      # 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()
   avg_lib_size = models.IntegerField(default=225, blank=True, null=True)
   notes = models.TextField(blank=True)