From d16e2d1fb331b77d7e8b88847327f0e0bc27243f Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Sat, 26 Sep 2009 00:02:12 +0000 Subject: [PATCH] Print library.library_id instead of the flowcell.library_id. The first is the library_id string we assign to libraries, the second is the foriegn key linking to the library primary key. (yes they're both named library_id... it makes it confusing.) --- htsworkflow/frontend/eland_config/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htsworkflow/frontend/eland_config/views.py b/htsworkflow/frontend/eland_config/views.py index 0ffa84f..994a410 100644 --- a/htsworkflow/frontend/eland_config/views.py +++ b/htsworkflow/frontend/eland_config/views.py @@ -272,8 +272,8 @@ def getElandConfig(flowcell, regenerate=False): #Convert all newline conventions to unix style for lane in fcObj.lane_set.all(): - data.append("# Lane%d: %d | %s" % \ - (lane.lane_number, lane.library_id, lane.library.library_name.replace('%', '%%'))) + data.append("# Lane%d: %s | %s" % \ + (lane.lane_number, unicode(lane.library.library_id), lane.library.library_name.replace('%', '%%'))) #data.append("GENOME_DIR %s" % (BASE_DIR)) #data.append("CONTAM_DIR %s" % (BASE_DIR)) -- 2.30.2