Skip to content

Commit

Permalink
Drive the MP heat map layout from the updated OLS gem instead of stat…
Browse files Browse the repository at this point in the history
…ic configuration
  • Loading branch information
davidrichardson committed Nov 10, 2011
1 parent ae37827 commit 7d1106a
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 9,775 deletions.
Expand Up @@ -21,6 +21,8 @@ def wtsi_phenotyping_heatmap_secondary_sort( search_data )
test_display_names[attrib.to_sym] = ds_attribs[attrib] ? ds_attribs[attrib].display_name : attrib.to_s
end

mp_group_config = wtsi_phenotyping_param_level_heatmap_mp_heatmap_config

# Now process the heatmap
search_data.each do |key,result_data|
heatmap_raw_data = result_data[:'wtsi-phenotyping-heatmap']
Expand All @@ -29,6 +31,7 @@ def wtsi_phenotyping_heatmap_secondary_sort( search_data )
next if heatmap_raw_data.nil?

result_data[:'wtsi-phenotyping-heatmap-test_display_names'] = test_display_names
result_data[:'wtsi-phenotyping-mp_group_config'] = mp_group_config

# First, append any supporting data to the basic heatmap return.
heatmap_raw_data.each do |result|
Expand Down

0 comments on commit 7d1106a

Please sign in to comment.