Changeset 5755


Ignore:
Timestamp:
09/12/10 07:55:42 (15 years ago)
Author:
Eric.Larour
Message:

Better check on runtime name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/classes/public/loadresultsfromcluster.m

    r5559 r5755  
    1111[codepath,executionpath,login,port]=ClusterParameters(md.cluster,cluster_rc_location);
    1212
     13if nargin==2,
     14        md.runtimename=runtimename;
     15end
    1316
    1417if isempty(md.runtimename),
    15         if nargin~=2,
    16                 error('supply runtime name for results to be loaded!');
    17         else
    18                 md.runtimename=runtimename;
    19         end
     18        error('supply runtime name for results to be loaded!');
    2019end
    2120
Note: See TracChangeset for help on using the changeset viewer.