Mercurial > repos > eduardo > annotateviz
diff static/js/gff_app.js @ 4:92921dfea0b5 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/annotateviz commit 230f5fe14cc469e56626201a5c377686976d81fc
author | eduardo |
---|---|
date | Sat, 24 Jun 2017 14:55:25 -0400 |
parents | 7537482eed36 |
children |
line wrap: on
line diff
--- a/static/js/gff_app.js Sat Jun 17 15:10:53 2017 -0400 +++ b/static/js/gff_app.js Sat Jun 24 14:55:25 2017 -0400 @@ -17,20 +17,18 @@ //enableHorizontalScrollbar: 0, //enableVerticalScrollbar: 1, columnDefs: [ - { name: 'contig', grouping: { groupPriority: 0 }, sort: { priority: 0, direction: 'desc' }, width: '25%', cellTemplate: '<div><div ng-if="!col.grouping || col.grouping.groupPriority === undefined || col.grouping.groupPriority === null || ( row.groupHeader && col.grouping.groupPriority === row.treeLevel )" class="ui-grid-cell-contents" title="TOOLTIP">{{COL_FIELD CUSTOM_FILTERS}}</div></div>' }, + { name: 'Contig', grouping: { groupPriority: 0 }, sort: { priority: 0, direction: 'desc' }, width: '25%', cellTemplate: '<div><div ng-if="!col.grouping || col.grouping.groupPriority === undefined || col.grouping.groupPriority === null || ( row.groupHeader && col.grouping.groupPriority === row.treeLevel )" class="ui-grid-cell-contents" title="TOOLTIP">{{COL_FIELD CUSTOM_FILTERS}}</div></div>' }, { name: 'mRNA', grouping: { groupPriority: 1 }, sort: { priority: 1,direction: 'desc' }, width: '25%', cellTemplate: '<div><div ng-if="!col.grouping || col.grouping.groupPriority === undefined || col.grouping.groupPriority === null || ( row.groupHeader && col.grouping.groupPriority === row.treeLevel )" class="ui-grid-cell-contents" title="TOOLTIP">{{COL_FIELD CUSTOM_FILTERS}}</div></div>' }, - { name: 'prediction', width: '25%' }, - { name: 'source', width: '10%' }, - { name: 'score', width: '5%'}, + { name: 'Prediction', width: '25%' }, + { name: 'Source', width: '10%' }, + { name: 'Score', width: '5%'}, ], onRegisterApi: function( gridApi ) { $scope.gridApi = gridApi; } }; - //var baseurl= '/api/datasets/'+hdaId+'?provider=sqlite-dict&data_type=raw_data&query='; - //var select="select%20seqid,seqid,source,featuretype,start,end,score,strand,frame,attributes%20from%20features"; - //var url= baseurl + select; + $http.get('trans.json') .success (function(response){ $scope.gridOptions.data = response;