Allow mapping library IDs to the library primary key
authorDiane Trout <diane@caltech.edu>
Thu, 30 Apr 2009 22:44:34 +0000 (22:44 +0000)
committerDiane Trout <diane@caltech.edu>
Thu, 30 Apr 2009 22:44:34 +0000 (22:44 +0000)
htsworkflow/frontend/urls.py

index 05691822f079009f36168885d43cdf72d7e1c30f..0e5ca52979694bf24f1f2b3fd4e4e7bfaaa8f8f0 100644 (file)
@@ -25,6 +25,9 @@ urlpatterns = patterns('',
     (r'^library/$', 'htsworkflow.frontend.samples.views.library'),
     (r'^library/(?P<lib_id>\w+)/$', 
       'htsworkflow.frontend.samples.views.library_to_flowcells'),
+    # library id to admin url
+    (r'^library_id_to_admin_url/(?P<lib_id>\w+)/$',
+     'htsworkflow.frontend.samples.views.library_id_to_admin_url'),
     # Raw result files
     (r'^results/(?P<fc_id>\w+)/(?P<cnm>C[1-9]-[0-9]+)/summary/',
       'htsworkflow.frontend.samples.views.summaryhtm_fc_cnm'),