simplify library admin index view
authorDiane Trout <diane@caltech.edu>
Tue, 24 Feb 2009 18:42:17 +0000 (18:42 +0000)
committerDiane Trout <diane@caltech.edu>
Tue, 24 Feb 2009 18:42:17 +0000 (18:42 +0000)
htsworkflow/frontend/samples/admin.py
htsworkflow/frontend/samples/models.py

index 62e43fb2329d093d4c277ec19c62394a09622871..e237ea9c40752764d62e0f62af8475024f1c8875 100644 (file)
@@ -27,25 +27,27 @@ class LibraryOptions(admin.ModelAdmin):
     )
     list_display = (
         'library_id',
-        'aligned_reads',
-        'DataRun',
+        #'aligned_reads',
+        #'DataRun',
         'library_name',
         'experiment_type',
-        'organism',
-        'antibody_name',
-        'cell_line',
-        'libtags',
-        'made_for',
+        #'organism',
+        #'antibody_name',
+        #'cell_line',
+        #'libtags',
+        #'made_for',
+       'affiliation',
         'made_by',
-        'stopping_point',
+        'undiluted_concentration',
         'creation_date',
-        'condition',
+        #'condition',
     )
     list_filter = (
         'experiment_type', 
         'library_species', 
         'tags',
-        'made_for',
+        #'made_for',
+       'affiliations',
         'made_by', 
         'antibody',
         'cell_line',
index 16ef011c8ae8becead6c729395fb4d12dd28a6d5..914cb006004167a622e93dd3ba03e0084c864c01 100644 (file)
@@ -153,7 +153,9 @@ class Library(models.Model):
   stopping_point = models.CharField(max_length=25, choices=PROTOCOL_END_POINTS, default='Done')
   amplified_from_sample = models.ForeignKey('self', blank=True, null=True)  
   
-  undiluted_concentration = models.DecimalField("Undiluted concentration (ng/ul)", max_digits=5, decimal_places=2, default=0, blank=True, null=True)
+  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)
   ten_nM_dilution = models.BooleanField()
   avg_lib_size = models.IntegerField(default=225, blank=True, null=True)