diff --git a/web/src/components/DDCODE/fetchAllCondensates.vue b/web/src/components/DDCODE/fetchAllCondensates.vue index f6fd518ddaece6964acc604aa689f839f0b8c3ce..e928297b191502c09b2a03ccc496915a5bb310ba 100644 --- a/web/src/components/DDCODE/fetchAllCondensates.vue +++ b/web/src/components/DDCODE/fetchAllCondensates.vue @@ -28,7 +28,7 @@ export default { host = require('../js/const').devHost; } - let url = `${host}/condensates?species_tax_id=all&size=10000`; + let url = `${host}/condensates?size=100000`; fetch(url) .then(response => response.json()) diff --git a/web/src/components/DataTableCondensate.vue b/web/src/components/DataTableCondensate.vue index 7d17ccf02e97916f1e015d0762e76868653e8e98..3d55e1c7200131bcdb9fd84da8d7f20fbe5265d4 100644 --- a/web/src/components/DataTableCondensate.vue +++ b/web/src/components/DataTableCondensate.vue @@ -80,25 +80,32 @@ return row.proteins.length; } }, + { + title: 'Biomolecular/Synthetic', + data: 'is_experimental', + render: function ( data, type, row, meta ) { + return data ? 'Syntehtic' : 'Biomolecular'; + } + }, // { // title: 'Localization', // render: function ( data, type, row, meta ) { // return '(placeholder)'; // } // }, - { - title: 'Evidence Stars', - data: 'data_sources', - render: function ( data, type, row, meta ) { - return getRatingValue(data); - }, - fnCreatedCell: (nTd, sData, oData) => { - // console.log(sData) - if(sData) { - $(nTd).html(getRating(sData).join('\n')); - } - } - }, + // { + // title: 'Evidence Stars', + // data: 'data_sources', + // render: function ( data, type, row, meta ) { + // return getRatingValue(data); + // }, + // fnCreatedCell: (nTd, sData, oData) => { + // // console.log(sData) + // if(sData) { + // $(nTd).html(getRating(sData).join('\n')); + // } + // } + // }, { title: 'Species', data: 'species_name', diff --git a/web/src/components/Links.vue b/web/src/components/Links.vue index b7ce6224bccc670bb50fb96dfb235110e7592bcf..64be6cd48785db3fe6b7424bc7b44656be80ca6c 100644 --- a/web/src/components/Links.vue +++ b/web/src/components/Links.vue @@ -10,11 +10,16 @@ About </router-link> </li> - <!--<li role="presentation" v-bind:class="{ active: $route.name === 'browse' }">--> - <!--<router-link to="/browse">--> - <!--Browse--> + <!--<li role="presentation" v-bind:class="{ active: $route.name === 'condensates' }">--> + <!--<router-link to="/condensates">--> + <!--Condensates--> <!--</router-link>--> <!--</li>--> + <li role="presentation" v-bind:class="{ active: $route.name === 'browse' }"> + <router-link to="/browse"> + Browse + </router-link> + </li> <li role="presentation" v-bind:class="{ active: $route.name === 'statistics' }"> <router-link to="/statistics"> Statistics diff --git a/web/src/router/index.js b/web/src/router/index.js index 406a2ae8f0bb41921f89c114e19284355d367116..1563ee0386b8777b1d48d2c59adbd9faa7835a2f 100644 --- a/web/src/router/index.js +++ b/web/src/router/index.js @@ -31,6 +31,11 @@ export default new Router({ name: 'browse', component: () => import('@/components/BrowsePage'), }, + // { + // path: '/condensates', + // name: 'condensates', + // component: () => import('@/components/BrowsePage'), + // }, { path: '/statistics', name: 'statistics',