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
e15d4e0e
Commit
e15d4e0e
authored
Apr 16, 2020
by
maxchaza
Browse files
fix choose label
parent
b22c9f32
Changes
2
Hide whitespace changes
Inline
Side-by-side
app.json
View file @
e15d4e0e
...
...
@@ -7,7 +7,7 @@
/**
*
The
version
of
the
application.
*/
"version"
:
"3.0.1
5
"
,
"version"
:
"3.0.1
6
"
,
/**
*
The
relative
path
to
the
application's
markup
file
(html
,
jsp
,
asp
,
etc.).
...
...
@@ -357,6 +357,10 @@
"path"
:
"resources/lib/functions/GraphPanel.js"
,
"bundle"
:
true
},
{
"path"
:
"resources/lib/functions/GraphPath.js"
,
"bundle"
:
true
},
{
"path"
:
"resources/lib/functions/GraphStyleEdition.js"
,
"bundle"
:
true
...
...
app/view/form/label/labelController.js
View file @
e15d4e0e
...
...
@@ -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
(
function
(
n
)
{
return
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
"
&&
...
...
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