From 2dc297698c9f3917d3eca23f422b23a9f5cbba2f Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Tue, 18 Aug 2009 22:42:01 +0000 Subject: [PATCH] Update Rami's flowcell report to work with our new seperate lane table. --- .../templates/experiments/flowcellSheet.html | 88 ++++++------------- .../frontend/templates/experiments/index.html | 2 +- 2 files changed, 30 insertions(+), 60 deletions(-) diff --git a/htsworkflow/frontend/templates/experiments/flowcellSheet.html b/htsworkflow/frontend/templates/experiments/flowcellSheet.html index 66b7b4d..f639ff6 100644 --- a/htsworkflow/frontend/templates/experiments/flowcellSheet.html +++ b/htsworkflow/frontend/templates/experiments/flowcellSheet.html @@ -16,8 +16,8 @@ TD           Date Run Started{{ fc.run_date }}                 -Cluster station used{{ fc.cluster_mac_id }}       -GA used{{ fc.seq_mac_id }}       +Cluster station used{{ fc.cluster_station.name }}       +GA used{{ fc.sequencer.name }}                 Flowcell number{{ fc.flowcell_id }}       @@ -28,84 +28,54 @@ TD SAMPLE INFORMATION          FC#     FC bar code -Lane12345678 +Lane +{% for lane in fc.lane_set.all %} +{{ lane.lane_number }} +{% endfor %} + Solexa Library Number -{{ fc.lane_1_library.library_id }} -{{ fc.lane_2_library.library_id }} -{{ fc.lane_3_library.library_id }} -{{ fc.lane_4_library.library_id }} -{{ fc.lane_5_library.library_id }} -{{ fc.lane_6_library.library_id }} -{{ fc.lane_7_library.library_id }} -{{ fc.lane_8_library.library_id }} +{% for lane in fc.lane_set.all %} +{{ lane.library.library_id }} +{% endfor %} + Sample Name -{{ fc.lane_1_library.library_name }} -{{ fc.lane_2_library.library_name }} -{{ fc.lane_3_library.library_name }} -{{ fc.lane_4_library.library_name }} -{{ fc.lane_5_library.library_name }} -{{ fc.lane_6_library.library_name }} -{{ fc.lane_7_library.library_name }} -{{ fc.lane_8_library.library_name }} +{% for lane in fc.lane_set.all %} +{{ lane.library.library_name }} +{% endfor %} Organism -{{ fc.lane_1_library.library_species.common_name }} -{{ fc.lane_2_library.library_species.common_name }} -{{ fc.lane_3_library.library_species.common_name }} -{{ fc.lane_4_library.library_species.common_name }} -{{ fc.lane_5_library.library_species.common_name }} -{{ fc.lane_6_library.library_species.common_name }} -{{ fc.lane_7_library.library_species.common_name }} -{{ fc.lane_8_library.library_species.common_name }} +{% for lane in fc.lane_set.all %} +{{ lane.library.library_species.scientific_name }} +{% endfor %} Submitter -{{ fc.lane_1_library.made_by }} -{{ fc.lane_2_library.made_by }} -{{ fc.lane_3_library.made_by }} -{{ fc.lane_4_library.made_by }} -{{ fc.lane_5_library.made_by }} -{{ fc.lane_6_library.made_by }} -{{ fc.lane_7_library.made_by }} -{{ fc.lane_8_library.made_by }} +{% for lane in fc.lane_set.all %} +{{ lane.library.made_for }} +{% endfor %} First time run? Average Library Size (bp) -{{ fc.lane_1_library.avg_lib_size }} -{{ fc.lane_2_library.avg_lib_size }} -{{ fc.lane_3_library.avg_lib_size }} -{{ fc.lane_4_library.avg_lib_size }} -{{ fc.lane_5_library.avg_lib_size }} -{{ fc.lane_6_library.avg_lib_size }} -{{ fc.lane_7_library.avg_lib_size }} -{{ fc.lane_8_library.avg_lib_size }} +{% for lane in fc.lane_set.all %} +{{ lane.library.avg_lib_size }} +{% endfor %} Template Concentration (ng/ul) -{{ fc.lane_1_library.undiluted_concentration }} -{{ fc.lane_2_library.undiluted_concentration }} -{{ fc.lane_3_library.undiluted_concentration }} -{{ fc.lane_4_library.undiluted_concentration }} -{{ fc.lane_5_library.undiluted_concentration }} -{{ fc.lane_6_library.undiluted_concentration }} -{{ fc.lane_7_library.undiluted_concentration }} -{{ fc.lane_8_library.undiluted_concentration }} +{% for lane in fc.lane_set.all %} +{{ lane.library.undiluted_concentration }} +{% endfor %} Run Concentration (pM) -{{ fc.lane_1_pM }} -{{ fc.lane_2_pM }} -{{ fc.lane_3_pM }} -{{ fc.lane_4_pM }} -{{ fc.lane_5_pM }} -{{ fc.lane_6_pM }} -{{ fc.lane_7_pM }} -{{ fc.lane_8_pM }} +{% for lane in fc.lane_set.all %} +{{ lane.pM }} +{% endfor %} diff --git a/htsworkflow/frontend/templates/experiments/index.html b/htsworkflow/frontend/templates/experiments/index.html index 1105bec..0d817d2 100644 --- a/htsworkflow/frontend/templates/experiments/index.html +++ b/htsworkflow/frontend/templates/experiments/index.html @@ -1,7 +1,7 @@ {% if data_run_list %} {% else %} -- 2.30.2