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
7f9784b8
Commit
7f9784b8
authored
Jul 27, 2021
by
Jean-Clement Gallardo
Browse files
v3.1.1 fix flux scale editor and mapping import flux
parent
bd51b1a9
Changes
4
Hide whitespace changes
Inline
Side-by-side
app.json
View file @
7f9784b8
...
...
@@ -7,7 +7,7 @@
/**
*
The
version
of
the
application.
*/
"version"
:
"3.1.
0
"
,
"version"
:
"3.1.
1
"
,
/**
*
The
relative
path
to
the
application's
markup
file
(html
,
jsp
,
asp
,
etc.).
...
...
app/view/form/fluxScaleEditor/FluxScaleEditor.js
View file @
7f9784b8
...
...
@@ -52,11 +52,13 @@ Ext.define('metExploreViz.view.form.fluxScaleEditor.FluxScaleEditor', {
xtype
:
'
numberfield
'
,
label
:
'
Position
'
,
value
:
''
},{
},
{
margin
:
"
10 0 10 0
"
,
xtype
:
'
label
'
,
html
:
'
Number :
'
},{
},
{
xtype
:
'
button
'
,
margin
:
"
5 40 5 10
"
,
disabled
:
true
,
...
...
@@ -79,7 +81,8 @@ Ext.define('metExploreViz.view.form.fluxScaleEditor.FluxScaleEditor', {
c
.
setTooltip
(
""
);
}
}
},{
},
{
xtype
:
'
numberfield
'
,
html
:
'
Number :
'
,
reference
:
"
numberButton
"
,
...
...
app/view/form/fluxScaleEditor/FluxScaleEditorController.js
View file @
7f9784b8
...
...
@@ -71,7 +71,12 @@ Ext.define('metExploreViz.view.form.fluxScaleEditor.FluxScaleEditorController',
metExploreD3
.
GraphNumberScaleEditor
.
updateValue
(
value
);
}
}
}
},
change
:
function
(
that
){
var
value
=
parseFloat
(
that
.
getRawValue
());
that
.
setMinValue
(
value
);
that
.
setMaxValue
(
value
);
}
});
view
.
lookupReference
(
'
numberButton
'
).
on
({
...
...
resources/lib/functions/GraphMapping.js
View file @
7f9784b8
...
...
@@ -1161,9 +1161,8 @@ metExploreD3.GraphMapping = {
}
if
(
mappingJSON
.
flux
!==
{}){
var
mappingFlux
=
mappingJSON
.
flux
;
if
(
mappingJSON
.
targetLabel
===
"
reactionDBIdentifier
"
){
var
targetLabel
=
"
Identifier
"
;
}
var
targetLabel
=
"
Identifier
"
;
if
(
mappingJSON
.
targetLabel
===
"
reactionName
"
){
var
targetLabel
=
"
Name
"
;
}
...
...
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