Skip to content
Snippets Groups Projects
Commit 7995df33 authored by Cristian Galperti's avatar Cristian Galperti
Browse files

some fixes for the merge request

parent 987986c0
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,7 @@ classdef SCDclass_mdspar < matlab.mixin.Heterogeneous ...@@ -36,7 +36,7 @@ classdef SCDclass_mdspar < matlab.mixin.Heterogeneous
unlinked % unlinked parameter, no actualization will be performed (this is set via an empty MDS source path) unlinked % unlinked parameter, no actualization will be performed (this is set via an empty MDS source path)
actualizable % true if after MDS data retrieval phase the parameter is actualizable actualizable % true if after MDS data retrieval phase the parameter is actualizable
overrideshot % =1 if biult with overridden whot number in this case this shot number will be always used during actualization overrideshot % =1 if instantiated with overridden shot number, in this case this shot number will be always used during actualization
overrideshotn % shot number in case of overridden shot number overrideshotn % shot number in case of overridden shot number
end end
...@@ -107,6 +107,10 @@ classdef SCDclass_mdspar < matlab.mixin.Heterogeneous ...@@ -107,6 +107,10 @@ classdef SCDclass_mdspar < matlab.mixin.Heterogeneous
assert(~~exist('mdsconnect','file'),... assert(~~exist('mdsconnect','file'),...
'SCD:NoMDS','mdsconnect not found, are the mds matlab tools installed?') 'SCD:NoMDS','mdsconnect not found, are the mds matlab tools installed?')
mdsconnect(obj.mdsserver); mdsconnect(obj.mdsserver);
% If the class has been declared with a 'shot' parameter, then
% the shotnumber used for param loading is overridden by this
% parameter, otherwise it is taken from the global shot number
% given to the actualize command
if obj.overrideshot == 1 if obj.overrideshot == 1
localshot = obj.overrideshotn; localshot = obj.overrideshotn;
else else
......
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