@abi-software/flatmapvuer 0.3.4 → 0.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4311,17 +4311,6 @@ src_select.install = function (Vue) {
4311
4311
 
4312
4312
  /******/ });
4313
4313
 
4314
- /***/ }),
4315
-
4316
- /***/ "5097":
4317
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
4318
-
4319
- "use strict";
4320
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_09d0c8ed_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("559b");
4321
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_09d0c8ed_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_09d0c8ed_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
4322
- /* unused harmony reexport * */
4323
-
4324
-
4325
4314
  /***/ }),
4326
4315
 
4327
4316
  /***/ "5128":
@@ -4564,13 +4553,6 @@ exports.PopupManager = _popupManager2.default;
4564
4553
 
4565
4554
  /***/ }),
4566
4555
 
4567
- /***/ "559b":
4568
- /***/ (function(module, exports, __webpack_require__) {
4569
-
4570
- // extracted by mini-css-extract-plugin
4571
-
4572
- /***/ }),
4573
-
4574
4556
  /***/ "55d7":
4575
4557
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4576
4558
 
@@ -10533,6 +10515,17 @@ var isDefined = exports.isDefined = function isDefined(val) {
10533
10515
 
10534
10516
  module.exports = require("css-element-queries/src/ResizeSensor");
10535
10517
 
10518
+ /***/ }),
10519
+
10520
+ /***/ "b2d3":
10521
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
10522
+
10523
+ "use strict";
10524
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_b8a1a320_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f37d");
10525
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_b8a1a320_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_b8a1a320_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
10526
+ /* unused harmony reexport * */
10527
+
10528
+
10536
10529
  /***/ }),
10537
10530
 
10538
10531
  /***/ "b2d6":
@@ -13181,6 +13174,13 @@ exports.default = {
13181
13174
 
13182
13175
  /***/ }),
13183
13176
 
13177
+ /***/ "f37d":
13178
+ /***/ (function(module, exports, __webpack_require__) {
13179
+
13180
+ // extracted by mini-css-extract-plugin
13181
+
13182
+ /***/ }),
13183
+
13184
13184
  /***/ "f3ad":
13185
13185
  /***/ (function(module, exports, __webpack_require__) {
13186
13186
 
@@ -14940,12 +14940,12 @@ var es_number_constructor_js_ = __webpack_require__("f989");
14940
14940
  var external_vue_ = __webpack_require__("8bbf");
14941
14941
  var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
14942
14942
 
14943
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f96242d6-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Tooltip.vue?vue&type=template&id=09d0c8ed&scoped=true&
14944
- var Tooltipvue_type_template_id_09d0c8ed_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"tooltip-container"},[(_vm.content)?_c('el-main',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading),expression:"loading"}],staticClass:"main"},[(_vm.content.title)?_c('div',{staticClass:"block"},[_c('span',{staticClass:"title"},[_vm._v(_vm._s(_vm.capitalise(_vm.content.title)))])]):_c('div',{staticClass:"block"},[_c('span',{staticClass:"title"},[_vm._v(_vm._s(_vm.content.featureId))])]),_c('div',{staticClass:"content-container scrollbar"},[(_vm.content.featureIds)?_c('pubmed-viewer',{directives:[{name:"show",rawName:"v-show",value:(false),expression:"false"}],staticClass:"block",attrs:{"entry":_vm.content},on:{"pubmedSearchUrl":_vm.pubmedSearchUrlUpdate}}):_vm._e(),_vm._v(" "+_vm._s(_vm.content.paths)+" "),(this.origins)?_c('div',{staticClass:"block"},[_c('div',[_c('span',{staticClass:"attribute-title"},[_vm._v("Origin")]),_c('el-popover',{attrs:{"width":"250","trigger":"hover","append-to-body":false,"popper-class":"popover-origin-help"}},[_c('i',{staticClass:"el-icon-warning-outline info",attrs:{"slot":"reference"},slot:"reference"}),_c('span',{staticStyle:{"word-break":"keep-all"}},[_c('i',[_vm._v("Origin")]),_vm._v(" "+_vm._s(_vm.originDescription)+" ")])])],1),_vm._l((_vm.origins),function(origin){return _c('div',{key:origin,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(origin))+" ")])}),_c('el-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.originsWithDatasets.length > 0),expression:"originsWithDatasets.length > 0"}],staticClass:"button",on:{"click":_vm.openDendrites}},[_vm._v(" Explore origin data ")])],2):_vm._e(),(this.components)?_c('div',{staticClass:"block"},[_c('div',{staticClass:"attribute-title"},[_vm._v("Components")]),_vm._l((_vm.components),function(component){return _c('div',{key:component,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(component))+" ")])})],2):_vm._e(),(this.destinations)?_c('div',{staticClass:"block"},[_c('div',[_c('span',{staticClass:"attribute-title"},[_vm._v("Destination")]),_c('el-popover',{attrs:{"width":"250","trigger":"hover","append-to-body":false,"popper-class":"popover-origin-help"}},[_c('i',{staticClass:"el-icon-warning-outline info",attrs:{"slot":"reference"},slot:"reference"}),_c('span',{staticStyle:{"word-break":"keep-all"}},[_c('i',[_vm._v("Destination")]),_vm._v(" is where the axons terminate ")])])],1),_vm._l((_vm.destinations),function(destination){return _c('div',{key:destination,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(destination))+" ")])}),_c('el-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.destinationsWithDatasets.length > 0),expression:"destinationsWithDatasets.length > 0"}],staticClass:"button",on:{"click":_vm.openAxons}},[_vm._v(" Explore destination data ")])],2):_vm._e(),_c('el-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.components.length > 0),expression:"components.length > 0"}],staticClass:"button",on:{"click":_vm.openAll}},[_vm._v(" Search for data on components ")]),(_vm.pubmedSearchUrl)?_c('el-button',{staticClass:"button",attrs:{"icon":"el-icon-notebook-2"},on:{"click":function($event){return _vm.openUrl(_vm.pubmedSearchUrl)}}},[_vm._v(" Open publications in pubmed ")]):_vm._e()],1)]):_vm._e()],1)}
14945
- var Tooltipvue_type_template_id_09d0c8ed_scoped_true_staticRenderFns = []
14943
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f96242d6-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Tooltip.vue?vue&type=template&id=b8a1a320&scoped=true&
14944
+ var Tooltipvue_type_template_id_b8a1a320_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"tooltip-container"},[(_vm.content)?_c('el-main',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading),expression:"loading"}],staticClass:"main"},[(_vm.content.title)?_c('div',{staticClass:"block"},[_c('span',{staticClass:"title"},[_vm._v(_vm._s(_vm.capitalise(_vm.content.title)))])]):_c('div',{staticClass:"block"},[_c('span',{staticClass:"title"},[_vm._v(_vm._s(_vm.content.featureId))])]),_c('div',{staticClass:"content-container scrollbar"},[(_vm.content.featureIds)?_c('pubmed-viewer',{directives:[{name:"show",rawName:"v-show",value:(false),expression:"false"}],staticClass:"block",attrs:{"entry":_vm.content},on:{"pubmedSearchUrl":_vm.pubmedSearchUrlUpdate}}):_vm._e(),_vm._v(" "+_vm._s(_vm.content.paths)+" "),(this.origins)?_c('div',{staticClass:"block"},[_c('div',[_c('span',{staticClass:"attribute-title"},[_vm._v("Origin")]),_c('el-popover',{attrs:{"width":"250","trigger":"hover","append-to-body":false,"popper-class":"popover-origin-help"}},[_c('i',{staticClass:"el-icon-warning-outline info",attrs:{"slot":"reference"},slot:"reference"}),_c('span',{staticStyle:{"word-break":"keep-all"}},[_c('i',[_vm._v("Origin")]),_vm._v(" "+_vm._s(_vm.originDescription)+" ")])])],1),_vm._l((_vm.origins),function(origin){return _c('div',{key:origin,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(origin))+" "),_c('div',{staticClass:"seperator"})])}),_c('el-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.originsWithDatasets.length > 0),expression:"originsWithDatasets.length > 0"}],staticClass:"button",on:{"click":_vm.openDendrites}},[_vm._v(" Explore origin data ")])],2):_vm._e(),(this.components)?_c('div',{staticClass:"block"},[_c('div',{staticClass:"attribute-title"},[_vm._v("Components")]),_vm._l((_vm.components),function(component){return _c('div',{key:component,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(component))+" "),_c('div',{staticClass:"seperator"})])})],2):_vm._e(),(this.destinations)?_c('div',{staticClass:"block"},[_c('div',[_c('span',{staticClass:"attribute-title"},[_vm._v("Destination")]),_c('el-popover',{attrs:{"width":"250","trigger":"hover","append-to-body":false,"popper-class":"popover-origin-help"}},[_c('i',{staticClass:"el-icon-warning-outline info",attrs:{"slot":"reference"},slot:"reference"}),_c('span',{staticStyle:{"word-break":"keep-all"}},[_c('i',[_vm._v("Destination")]),_vm._v(" is where the axons terminate ")])])],1),_vm._l((_vm.destinations),function(destination){return _c('div',{key:destination,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(destination))+" "),_c('div',{staticClass:"seperator"})])}),_c('el-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.destinationsWithDatasets.length > 0),expression:"destinationsWithDatasets.length > 0"}],staticClass:"button",on:{"click":_vm.openAxons}},[_vm._v(" Explore destination data ")])],2):_vm._e(),_c('el-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.components.length > 0),expression:"components.length > 0"}],staticClass:"button",on:{"click":_vm.openAll}},[_vm._v(" Search for data on components ")]),(_vm.pubmedSearchUrl)?_c('el-button',{staticClass:"button",attrs:{"icon":"el-icon-notebook-2"},on:{"click":function($event){return _vm.openUrl(_vm.pubmedSearchUrl)}}},[_vm._v(" Open publications in pubmed ")]):_vm._e()],1)]):_vm._e()],1)}
14945
+ var Tooltipvue_type_template_id_b8a1a320_scoped_true_staticRenderFns = []
14946
14946
 
14947
14947
 
14948
- // CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=09d0c8ed&scoped=true&
14948
+ // CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=b8a1a320&scoped=true&
14949
14949
 
14950
14950
  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
14951
14951
 
@@ -15550,6 +15550,9 @@ var EventBus = new external_vue_default.a();
15550
15550
  //
15551
15551
  //
15552
15552
  //
15553
+ //
15554
+ //
15555
+ //
15553
15556
 
15554
15557
  /* eslint-disable no-alert, no-console */
15555
15558
 
@@ -15571,6 +15574,12 @@ var _titleCase = function titleCase(str) {
15571
15574
  });
15572
15575
  };
15573
15576
 
15577
+ var inArray = function inArray(ar1, ar2) {
15578
+ var as1 = JSON.stringify(ar1);
15579
+ var as2 = JSON.stringify(ar2);
15580
+ return as1.indexOf(as2) !== -1;
15581
+ };
15582
+
15574
15583
  var _capitalise = function capitalise(str) {
15575
15584
  if (str) return str.charAt(0).toUpperCase() + str.slice(1);
15576
15585
  return "";
@@ -15674,6 +15683,38 @@ var _capitalise = function capitalise(str) {
15674
15683
  pubmedSearchUrlUpdate: function pubmedSearchUrlUpdate(val) {
15675
15684
  this.pubmedSearchUrl = val;
15676
15685
  },
15686
+ findAllIdsFromConnectivity: function findAllIdsFromConnectivity(connectivity) {
15687
+ var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
15688
+
15689
+ var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
15690
+
15691
+
15692
+ var found = [];
15693
+ nodes.forEach(function (n) {
15694
+ if (Array.isArray(n)) {
15695
+ found.push(n.flat());
15696
+ } else {
15697
+ found.push(n);
15698
+ }
15699
+ });
15700
+ return _toConsumableArray(new Set(found.flat()));
15701
+ },
15702
+ flattenConntectivity: function flattenConntectivity(connectivity) {
15703
+ var dnodes = connectivity.flat(); // get nodes from edgelist
15704
+
15705
+ var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
15706
+
15707
+
15708
+ var found = [];
15709
+ nodes.forEach(function (n) {
15710
+ if (Array.isArray(n)) {
15711
+ found.push(n.flat());
15712
+ } else {
15713
+ found.push(n);
15714
+ }
15715
+ });
15716
+ return found.flat();
15717
+ },
15677
15718
  findComponents: function findComponents(connectivity) {
15678
15719
  var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
15679
15720
 
@@ -15683,30 +15724,21 @@ var _capitalise = function capitalise(str) {
15683
15724
  var found = [];
15684
15725
  var terminal = false;
15685
15726
  nodes.forEach(function (node) {
15686
- var n = node.flat(); // Find all terms on the node
15687
-
15688
15727
  terminal = false; // Check if the node is an destination or origin (note that they are labelled dendrite and axon as opposed to origin and destination)
15689
15728
 
15690
- n.forEach(function (s) {
15691
- if (connectivity.axons.includes(s)) {
15692
- terminal = true;
15693
- }
15729
+ if (inArray(connectivity.axons, node)) {
15730
+ terminal = true;
15731
+ }
15694
15732
 
15695
- if (connectivity.dendrites.includes(s)) {
15696
- terminal = true;
15697
- }
15698
- });
15733
+ if (inArray(connectivity.dendrites, node)) {
15734
+ terminal = true;
15735
+ }
15699
15736
 
15700
15737
  if (!terminal) {
15701
15738
  found.push(node);
15702
15739
  }
15703
- }); // remove duplicates
15704
-
15705
- var foundUnique = _toConsumableArray(new Set(found.map(function (n) {
15706
- return n[0];
15707
- })));
15708
-
15709
- return foundUnique;
15740
+ });
15741
+ return found;
15710
15742
  },
15711
15743
  getOrganCuries: function getOrganCuries() {
15712
15744
  var _this = this;
@@ -15773,9 +15805,37 @@ var _capitalise = function capitalise(str) {
15773
15805
  });
15774
15806
  });
15775
15807
  },
15776
- pathwayQuery: function pathwayQuery(keastIds) {
15808
+ createComponentsLabelList: function createComponentsLabelList(components, lookUp) {
15777
15809
  var _this3 = this;
15778
15810
 
15811
+ var labelList = [];
15812
+ components.forEach(function (n) {
15813
+ labelList.push(_this3.createLabelFromNeuralNode(n[0]), lookUp);
15814
+
15815
+ if (n.length === 2) {
15816
+ labelList.push(_this3.createLabelFromNeuralNode(n[1]), lookUp);
15817
+ }
15818
+ });
15819
+ return labelList;
15820
+ },
15821
+ createLabelFromNeuralNode: function createLabelFromNeuralNode(node, lookUp) {
15822
+ var label = lookUp[node[0]];
15823
+
15824
+ if (node.length === 2 && node[1].length > 0) {
15825
+ node[1].forEach(function (n) {
15826
+ if (lookUp[n] == undefined) {
15827
+ label += ", ".concat(n);
15828
+ } else {
15829
+ label += ", ".concat(lookUp[n]);
15830
+ }
15831
+ });
15832
+ }
15833
+
15834
+ return label;
15835
+ },
15836
+ pathwayQuery: function pathwayQuery(keastIds) {
15837
+ var _this4 = this;
15838
+
15779
15839
  this.destinations = [];
15780
15840
  this.origins = [];
15781
15841
  this.components = [];
@@ -15793,44 +15853,47 @@ var _capitalise = function capitalise(str) {
15793
15853
  }).then(function (response) {
15794
15854
  return response.json();
15795
15855
  }).then(function (data) {
15796
- var connectivity = JSON.parse(data.values[0][0]);
15856
+ var connectivity = JSON.parse(data.values[0][0]); // Filter the origin and destinations from components
15797
15857
 
15798
- var components = _this3.findComponents(connectivity); // Create list of ids to get labels for
15858
+ var components = _this4.findComponents(connectivity); // process the nodes for finding datasets
15799
15859
 
15800
15860
 
15801
- window.connectivity = connectivity;
15802
- var axons = connectivity.axons.map(function (a) {
15803
- return a[0];
15804
- });
15805
- var dendrites = connectivity.dendrites.map(function (d) {
15806
- return d[0];
15807
- });
15808
- var conIds = axons.concat(dendrites.concat(components));
15809
- window.conIds = conIds;
15861
+ var componentsFlat = _this4.flattenConntectivity(components);
15862
+
15863
+ var axons = connectivity.axons;
15864
+ var dendrites = connectivity.dendrites;
15865
+
15866
+ var axonsFlat = _this4.flattenConntectivity(axons);
15867
+
15868
+ var dendritesFlat = _this4.flattenConntectivity(dendrites);
15869
+
15870
+ var conIds = _this4.findAllIdsFromConnectivity(connectivity); // Create list of ids to get labels for
15871
+ // Create readable labels from the nodes. Setting this to 'this.origins' updates the display
15872
+
15810
15873
 
15811
- _this3.createLabelLookup(conIds).then(function (lookUp) {
15812
- _this3.destinations = axons.map(function (a) {
15813
- return lookUp[a];
15874
+ _this4.createLabelLookup(conIds).then(function (lookUp) {
15875
+ _this4.destinations = axons.map(function (a) {
15876
+ return _this4.createLabelFromNeuralNode(a, lookUp);
15814
15877
  });
15815
- _this3.origins = dendrites.map(function (d) {
15816
- return lookUp[d];
15878
+ _this4.origins = dendrites.map(function (d) {
15879
+ return _this4.createLabelFromNeuralNode(d, lookUp);
15817
15880
  });
15818
- _this3.components = components.map(function (c) {
15819
- return lookUp[c];
15881
+ _this4.components = components.map(function (c) {
15882
+ return _this4.createLabelFromNeuralNode(c, lookUp);
15820
15883
  });
15821
15884
  }); // Filter for the anatomy which is annotated on datasets
15822
15885
 
15823
15886
 
15824
- _this3.destinationsWithDatasets = _this3.uberons.filter(function (ub) {
15825
- return axons.indexOf(ub.id) !== -1;
15887
+ _this4.destinationsWithDatasets = _this4.uberons.filter(function (ub) {
15888
+ return axonsFlat.indexOf(ub.id) !== -1;
15826
15889
  });
15827
- _this3.originsWithDatasets = _this3.uberons.filter(function (ub) {
15828
- return dendrites.indexOf(ub.id) !== -1;
15890
+ _this4.originsWithDatasets = _this4.uberons.filter(function (ub) {
15891
+ return dendritesFlat.indexOf(ub.id) !== -1;
15829
15892
  });
15830
- _this3.componentsWithDatasets = _this3.uberons.filter(function (ub) {
15831
- return dendrites.indexOf(ub.id) !== -1;
15893
+ _this4.componentsWithDatasets = _this4.uberons.filter(function (ub) {
15894
+ return componentsFlat.indexOf(ub.id) !== -1;
15832
15895
  });
15833
- _this3.loading = false;
15896
+ _this4.loading = false;
15834
15897
  }).catch(function (error) {
15835
15898
  console.error('Error:', error);
15836
15899
  });
@@ -15839,8 +15902,8 @@ var _capitalise = function capitalise(str) {
15839
15902
  });
15840
15903
  // CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=script&lang=js&
15841
15904
  /* harmony default export */ var components_Tooltipvue_type_script_lang_js_ = (Tooltipvue_type_script_lang_js_);
15842
- // EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=09d0c8ed&scoped=true&lang=scss&
15843
- var Tooltipvue_type_style_index_0_id_09d0c8ed_scoped_true_lang_scss_ = __webpack_require__("5097");
15905
+ // EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=b8a1a320&scoped=true&lang=scss&
15906
+ var Tooltipvue_type_style_index_0_id_b8a1a320_scoped_true_lang_scss_ = __webpack_require__("b2d3");
15844
15907
 
15845
15908
  // CONCATENATED MODULE: ./src/components/Tooltip.vue
15846
15909
 
@@ -15853,11 +15916,11 @@ var Tooltipvue_type_style_index_0_id_09d0c8ed_scoped_true_lang_scss_ = __webpack
15853
15916
 
15854
15917
  var Tooltip_component = normalizeComponent(
15855
15918
  components_Tooltipvue_type_script_lang_js_,
15856
- Tooltipvue_type_template_id_09d0c8ed_scoped_true_render,
15857
- Tooltipvue_type_template_id_09d0c8ed_scoped_true_staticRenderFns,
15919
+ Tooltipvue_type_template_id_b8a1a320_scoped_true_render,
15920
+ Tooltipvue_type_template_id_b8a1a320_scoped_true_staticRenderFns,
15858
15921
  false,
15859
15922
  null,
15860
- "09d0c8ed",
15923
+ "b8a1a320",
15861
15924
  null
15862
15925
 
15863
15926
  )