Closed pieterlukasse closed 8 years ago
I did a quick check and it looks like the backend code MutationDataUtils.getMutationData()
has not changed recently.
perhaps the fix is something like mutations.at(i).get(dataField)
like changed recently elsewhere in the code? For example:
this._updateGeneMap = function(mutations)
{
var mutationMap = _mutationGeneMap;
// process raw data to group mutations by genes
for (var i=0; i < mutations.length; i++)
{
var gene = mutations.at(i).get("geneSymbol");
Thanks for reporting this @pieterlukasse! Looks like this is related to recent data field access method change on the front-end. I will try to fix this soon.
While debugging I noticed that the retrieved data is available in a different format than expected by the mutationMapper.js
dataFieldCount
method. See screenshot. All attributes are available in an "attributes" list variable and not directly undermutations[i]
(somutations[i].attributes["uniprotAcc"]
works whilemutations[i]["uniprotAcc"]
fails)