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
...@@ -34,8 +34,9 @@ end ...@@ -34,8 +34,9 @@ end
if usemdsplus if usemdsplus
% use mdsplus % use mdsplus
if exist('/home/amerle/codes/mds-ssh','dir') mds_dir = '/home/amerle/codes/mds-ssh';
addpath('/home/amerle/codes/mds-ssh') if exist(mds_dir,'dir') && ~strcmp(which('mdsipmex'),fullfile(mds_dir,'mdsipmex.mexa64'))
addpath(mds_dir);
end end
mdsconnect(['ssh://' jet_user '@mdsplus.jetdata.eu']); mdsconnect(['ssh://' jet_user '@mdsplus.jetdata.eu']);
mdsvalue('reset_public()'); mdsvalue('reset_public()');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment