Skip to content
Snippets Groups Projects
Commit f5bce79a authored by Antoine Merle's avatar Antoine Merle
Browse files

Only add path if necessary

parent 2b247b21
No related branches found
No related tags found
1 merge request!108add /home/amerle/codes/mds-ssh for JET on lacs
Pipeline #79862 passed with stage
in 3 minutes and 16 seconds
......@@ -34,8 +34,9 @@ end
if usemdsplus
% use mdsplus
if exist('/home/amerle/codes/mds-ssh','dir')
addpath('/home/amerle/codes/mds-ssh')
mds_dir = '/home/amerle/codes/mds-ssh';
if exist(mds_dir,'dir') && ~strcmp(which('mdsipmex'),fullfile(mds_dir,'mdsipmex.mexa64'))
addpath(mds_dir);
end
mdsconnect(['ssh://' jet_user '@mdsplus.jetdata.eu']);
mdsvalue('reset_public()');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment