Changeset 25120


Ignore:
Timestamp:
06/22/20 22:49:46 (5 years ago)
Author:
Eric.Larour
Message:

CHG: figure out if the step is locked.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/m/classes/organizer.m ΒΆ

    r24883 r25120  
    196196                                end
    197197                                bool=true;
     198
     199                                %last check: is this step locked?
     200                                string=org.steps(org.currentstep).string;
     201                                if length(string)>7,
     202                                        if strcmpi(string(end-5:end),'Locked'),
     203                                                error('organizer: you are  trying to run a locked step! Unlock it first!');
     204                                        end
     205                                end
    198206                        end
    199207                end%}}}
Note: See TracChangeset for help on using the changeset viewer.