Commit 93247220 authored by Marek Ostaszewski's avatar 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
......@@ -318,7 +318,7 @@ function calculateGSEA() {
});
const dataForExport = {
overlays: globals.overlayNames,
overlays: overlays.map(e=>e.getName()),
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`;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment