Changeset 25123


Ignore:
Timestamp:
06/23/20 10:49:37 (5 years ago)
Author:
jdquinn
Message:

CHG: Translation from MATLAB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/organizer.py

    r24261 r25123  
    158158            bool = True
    159159
    160     #assign self back to calling workspace
    161     # (no need, since Python modifies class instance directly)
     160            #last check: is this step locked?
     161            s = self.steps[self._currentstep].string
     162            if len(s) > 7:
     163                if s[-6:] == 'Locked':
     164                    raise Exception('organizer: you are trying to run a locked step! Unlock it first!')
    162165
    163166        return bool
Note: See TracChangeset for help on using the changeset viewer.