Skip to content

Commit

Permalink
Adding retain_hdf5 param. Addresses #666
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsielicki committed Dec 7, 2016
1 parent 17489c6 commit 74c6af4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions web-server/js/slycat-remote-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ define("slycat-remote-browser", ["slycat-server-root", "slycat-web-client", "kno
{
if(new_session_exists)
{
// Alex: this should be the other way - always overwrite from local storage because that's been customized by the user.
if(!component.path())
component.path(localStorage.getItem("slycat-remote-browser-path-" + component.persistence_id + component.hostname()) || "/");
component.browse(component.path());
Expand Down
1 change: 1 addition & 0 deletions web-server/js/slycat-remote-interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ define('slycat-remote-interface', ['knockout', 'knockout-mapping', 'slycat-serve

var fn_params = vm.agent_function_params();
fn_params.workdir = vm.workdir();
fn_params.retain_hdf5 = vm.retain_hdf5();

client.post_agent_function({
hostname: vm.remote.hostname(),
Expand Down
1 change: 0 additions & 1 deletion web-server/plugins/slycat-timeseries-model/wizard-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ define(['slycat-server-root', 'slycat-web-client', 'slycat-dialog', 'slycat-mark
component.browser_input = mapping.fromJS({path:null, selection: []});
component.browser_timeseries = mapping.fromJS({path:null, selection: []});
component.browser_hdf5 = mapping.fromJS({path:null, selection: []});
component.to_hdf5 = ko.observable(true);
component.inputs_file = ko.observable('');
component.input_directory = ko.observable('');
component.hdf5_directory = ko.observable('');
Expand Down

0 comments on commit 74c6af4

Please sign in to comment.