summaryrefslogtreecommitdiff
path: root/views/feature_table.haml
diff options
context:
space:
mode:
Diffstat (limited to 'views/feature_table.haml')
-rw-r--r--views/feature_table.haml13
1 files changed, 13 insertions, 0 deletions
diff --git a/views/feature_table.haml b/views/feature_table.haml
index 7c57331..e968b01 100644
--- a/views/feature_table.haml
+++ b/views/feature_table.haml
@@ -33,4 +33,17 @@
%tr
%td= f[:smarts]
%td= f[:p_value]
+ -if features[:deactivating].empty? and features[:activating].empty? and (features[:pc_features].size >= 1)
+ %tr
+ %th
+ descriptor
+ %th
+ value
+ - features[:pc_features].sort{|a,b| a[:feature] <=> b[:feature] }.each do |f|
+ %tr
+ %td= f[:feature]
+ %td= f[:value]
+
+
+