Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
metexplore
MetExploreViz
Commits
7b18c3de
Commit
7b18c3de
authored
Mar 23, 2020
by
maxchaza
Browse files
Merge branch 'hotfix/fixfordoc'
parents
c5a62971
9b13aefb
Changes
4
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
7b18c3de
...
...
@@ -34,3 +34,4 @@ node_modules/
package-lock\.json
sencha-error-*
docs/
app.json
View file @
7b18c3de
...
...
@@ -7,7 +7,7 @@
/**
*
The
version
of
the
application.
*/
"version"
:
"3.0.1
3
"
,
"version"
:
"3.0.1
4
"
,
/**
*
The
relative
path
to
the
application's
markup
file
(html
,
jsp
,
asp
,
etc.).
...
...
app/view/form/label/labelController.js
View file @
7b18c3de
...
...
@@ -20,7 +20,7 @@ Ext.define('metExploreViz.view.form.label.LabelController', {
var
session
=
_metExploreViz
.
getSessionById
(
'
viz
'
);
var
metabKeys
;
metabKeys
=
Object
.
keys
(
session
.
getD3Data
().
getNodes
().
filter
(
n
=>
n
.
getBiologicalType
()
===
view
.
aStyleFormParent
.
biologicalType
)
[
0
]);
metabKeys
=
Object
.
keys
(
session
.
getD3Data
().
getNodes
().
filter
(
function
(
n
)
{
return
n
.
getBiologicalType
()
===
view
.
aStyleFormParent
.
biologicalType
[
0
]
;})
);
metabKeys
=
metabKeys
.
filter
(
function
(
key
){
return
key
!==
"
isSideCompound
"
&&
key
!==
"
reactionReversibility
"
&&
key
!==
"
reactionReversibility
"
&&
key
!==
"
selected
"
&&
key
!==
"
duplicated
"
&&
key
!==
"
labelVisible
"
&&
...
...
app/view/form/selectMappingForExtraction/SelectMappingForExtractionController.js
View file @
7b18c3de
...
...
@@ -40,9 +40,11 @@ Ext.define('metExploreViz.view.form.selectMappingForExtraction.SelectMappingForE
.
filter
(
function
(
node
){
return
node
.
mappingDatas
.
length
!==
0
;})
.
filter
(
function
(
node
)
{
return
node
.
getMappingDatas
()
.
filter
(
map
=>
selectedMappings
.
includes
(
map
.
getMappingName
())).
length
!==
0
;
.
filter
(
function
(
map
)
{
return
selectedMappings
.
includes
(
map
.
getMappingName
())
;
}
).
length
!==
0
;
})
.
map
(
node
=>
node
.
getId
());
.
map
(
function
(
node
)
{
return
node
.
getId
();
});
metExploreD3
.
GraphFunction
.
keepOnlySubnetwork
(
nodesToLinks
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment