Commit e73a30a9 authored by David Hoksza's avatar David Hoksza
Browse files

fix export to tsv and overlay names

parent 53f00979
Pipeline #11647 passed with stage
in 47 seconds
......@@ -307,7 +307,7 @@ function calculateGSEA() {
});
const dataForExport = {
overlays: globals.overlayNames,
overlays: overlays.map(e=>e.getName()),
mapProjectId: minervaProxy.project.data.getProjectId(),
mapApi: ServerConnector.getApiBaseUrl(),
data: []
......@@ -557,7 +557,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