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.)
#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))