Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
plugins
GSEA
Commits
93247220
Commit
93247220
authored
Aug 26, 2019
by
Marek Ostaszewski
Browse files
Merge branch 'export' into 'master'
fix export to tsv and overlay names See merge request
!4
parents
8921b509
e73a30a9
Pipeline
#13096
passed with stages
in 1 minute and 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/js/index.js
View file @
93247220
...
...
@@ -318,7 +318,7 @@ function calculateGSEA() {
});
const
dataForExport
=
{
overlays
:
globals
.
overlay
Name
s
,
overlays
:
overlays
.
map
(
e
=>
e
.
get
Name
())
,
mapProjectId
:
minervaProxy
.
project
.
data
.
getProjectId
(),
mapApi
:
ServerConnector
.
getApiBaseUrl
(),
data
:
[]
...
...
@@ -575,7 +575,7 @@ function openModal(params) {
}
function
exportToTsv
(
data
)
{
let
res
=
`# overlays:
${
data
.
overlays
}
;
mainMapProjectName:
${
data
.
mainMapProjectName
}
; mainMapProjectId:
${
data
.
mainMapProjectId
}
; mainMapApi:
${
data
.
mainMapApi
}
,mapProjectName:
${
data
.
mapProjectName
}
;
mapProjectId:
${
data
.
mapProjectId
}
; mapApi:
${
data
.
mapApi
}
\n`
;
let
res
=
`# overlays:
${
data
.
overlays
}
; mapProjectId:
${
data
.
mapProjectId
}
; mapApi:
${
data
.
mapApi
}
\n`
;
for
(
let
i
=
0
;
i
<
data
.
data
.
length
;
++
i
)
{
res
+=
`
${
data
.
data
[
i
].
mapName
}
\n`
;
...
...
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