Simplify code to see if we already have a DataRun created.
authorDiane Trout <diane@caltech.edu>
Tue, 7 Aug 2012 02:01:51 +0000 (19:01 -0700)
committerDiane Trout <diane@caltech.edu>
Tue, 7 Aug 2012 02:12:10 +0000 (19:12 -0700)
commit95290ff43232ee756b7355c23041c8b3095145e6
treec09fb3a6ad8932f5231709b000d3ff3cafcc9667
parentd8f37e236f8516067170a652ac18a3a3b9adcad3
Simplify code to see if we already have a DataRun created.
Make sure we update the data runs when getting flowcell lane details.
Test to make sure we can't accidentally add more than one data run.
In the test code also change to assert from failUnless.
htsworkflow/frontend/experiments/models.py
htsworkflow/frontend/experiments/tests.py
htsworkflow/frontend/experiments/views.py