Commit 9d302ca6 authored by Daria Zenkova's avatar Daria Zenkova

some minor improvements in file management

parent af7a038b
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -351,11 +351,10 @@ morpheus.PcaPlotTool.prototype = {
console.log(arguments);
var req = ocpu.call("pcaPlot", arguments, function (session) {
session.getObject(function (data) {
var location = data.split("\"")[1].split('/');
var exactLoc = "tmp/" + location[location.length - 1];
var location = "tmp/" + data.split("\"")[1];
console.log(exactLoc);
var img = $('<img />', {src : exactLoc, style : "width:720px;height:540px"});
console.log(location);
var img = $('<img />', {src : location, style : "width:720px;height:540px"});
_this.$chart.prepend(img);
});
/*var img = $('<img />', {src : session.getLoc() + 'graphics/1/png', style : "width:720px;height:540px"});*/
......
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