[views] Use the same regid in CghResult and Mutation table views. The selection is made via the is_instance predicate
authorVladimir Popescu <vladimir.popescu@logilab.fr>
Wed, 11 Dec 2013 17:07:10 +0100
changeset 638 897cfbb20efa
parent 637 1a2596e3d7c6
child 639 f7bc10589e3e
[views] Use the same regid in CghResult and Mutation table views. The selection is made via the is_instance predicate
views/tableviews.py
--- a/views/tableviews.py	Mon Jan 20 13:03:04 2014 +0000
+++ b/views/tableviews.py	Wed Dec 11 17:07:10 2013 +0100
@@ -42,20 +42,20 @@
 
 
 class CghTableView(AbstractCghTableView):
-    __regid__ = 'cgh-table-view'
+    __regid__ = 'genmeas-table-view'
     columns = ['genomic_region', 'cgh_ratio', 'log2_ratio', 'status', 'numprobes']
     column_renderers = {'genomic_region': RelationColRenderer(role='subject')}
 
 
 class GeneCghTableView(AbstractCghTableView):
-    __regid__ = 'gene-cgh-table-view'
+    __regid__ = 'gene-genmeas-table-view'
     columns = ['genomic_region', 'related_measure', 'cgh_ratio', 'log2_ratio', 'status']
     column_renderers = {'related_measure': RelationColRenderer(role='subject', vid='incontext'),
                         'genomic_region': RelationColRenderer(role='subject', vid='incontext')}
 
 
 class RegionCghTableView(EntityTableView):
-    __regid__ = 'region-cgh-table-view'
+    __regid__ = 'region-genmeas-table-view'
     columns = ['related_measure', 'cgh_ratio', 'log2_ratio', 'status']
     column_renderers = {'related_measure': RelationColRenderer(role='subject', vid='incontext')}
 
@@ -81,7 +81,7 @@
 
 
 class MutationTableView(AbstractMutationTableView):
-    __regid__ = 'mutation-table-view'
+    __regid__ = 'genmeas-table-view'
 
     column_renderers = {'related_gene': RelationColRenderer(role='subject')}
 
@@ -89,7 +89,7 @@
 
 
 class GeneMutationTableView(AbstractMutationTableView):
-    __regid__ = 'gene-mutation-table-view'
+    __regid__ = 'gene-genmeas-table-view'
 
     column_renderers = {'related_measure': RelationColRenderer(role='subject', vid='incontext')}