X-Git-Url: http://woldlab.caltech.edu/gitweb/?a=blobdiff_plain;f=htsworkflow%2Ffrontend%2Fexperiments%2Fviews.py;h=e1204135424dca941ca1d7a0044337b719b0ca67;hb=20c98a9d4d39efc4fd2b1a376bd1a73ea14d1144;hp=827f5219ef05870f65735a82077e9b373def1028;hpb=91ebcb04331991bd7e37b78a5410ebe77943fbce;p=htsworkflow.git diff --git a/htsworkflow/frontend/experiments/views.py b/htsworkflow/frontend/experiments/views.py index 827f521..e120413 100755 --- a/htsworkflow/frontend/experiments/views.py +++ b/htsworkflow/frontend/experiments/views.py @@ -130,7 +130,7 @@ def finishedEmail(request, pk): def flowcell_detail(request, flowcell_id): - fc = get_object_or_404(FlowCell, flowcell_id=flowcell_id) + fc = get_object_or_404(FlowCell, flowcell_id__startswith=flowcell_id) fc.update_data_runs() context = RequestContext(request, @@ -140,7 +140,7 @@ def flowcell_detail(request, flowcell_id): context) def flowcell_lane_detail(request, flowcell_id, lane_number): - fc = get_object_or_404(FlowCell, flowcell_id=flowcell_id) + fc = get_object_or_404(FlowCell, flowcell_id__startswith=flowcell_id) lane = get_object_or_404(fc.lane_set, lane_number=lane_number) fc.update_data_runs()