Stop assuming that library_id == pk.
authorDiane Trout <diane@caltech.edu>
Wed, 8 Apr 2009 00:47:34 +0000 (00:47 +0000)
committerDiane Trout <diane@caltech.edu>
Wed, 8 Apr 2009 00:47:34 +0000 (00:47 +0000)
commit13b0610dfe43ae185aaf64ddf0086b39bccb32e9
tree9eb66a201a50c5a68ce2abf6997cd107e684b41a
parent85f5f1c84178d63f0f5cda4c91f38f932979c723
Stop assuming that library_id == pk.
I needed to fix the get_absolute_url to lookup by library_id,
we needed a redirect function to get to the right admin page.

And for sequence runs I don't have any eland results so the get result files
failed because it was assuming that the eland_result from the run xml would
always have all 8 lanes defined in its dictionary. Now I check to see if its
defined and if its not I don't display anything.
htsworkflow/frontend/samples/models.py
htsworkflow/frontend/samples/views.py