(no commit message)
authorRami Rauch <rrauch@stanford.edu>
Fri, 16 Jan 2009 21:42:07 +0000 (21:42 +0000)
committerRami Rauch <rrauch@stanford.edu>
Fri, 16 Jan 2009 21:42:07 +0000 (21:42 +0000)
htswfrontend/htswfrontend/exp_track/views.py

index 38880166cd00fe644624c4d382608f288ec74a9d..e59d52c319a1e51353c2267d0a5270c55769907a 100755 (executable)
@@ -33,28 +33,3 @@ def makeFCSheet(request,fcid):
     pass
   lanes = ['1','2','3','4','5','6','7','8']
   return render_to_response('exptrack/flowcellSheet.html',{'fc': rec})
-
-def test_Libs(request):
-  str = ''
-  str += '<table border=1><tr><th>Lib ID</th><th>Current Libaray Name (Free Text)</th><th>Auto-composed Libaray Name (antibody + celline + libid + species + [replicate])</th></tr>'
-  allLibs = Library.objects.all()
-  #allLibs = Library.objects.filter(antibody__isnull=False)
-  for L in allLibs:
-    str += '<tr>'
-    str += '<td>'+L.library_id+'</td><td>'+L.library_name+'</td>'   
-    str += '<td>'
-    str += L.experiment_type+'_'
-    if L.cell_line.cellline_name != 'Unknown':
-      str += L.cell_line.cellline_name+'_'
-
-    try:
-      if L.antibody is not None:
-        str += L.antibody.nickname + '_'
-    except Antibody.DoesNotExist:
-      pass
-  
-    str += 'Rep'+L.replicate.__str__()
-    str += '</td></tr>' 
-
-  str += '</table>'
-  return HttpResponse(str)