Changeset 27787


Ignore:
Timestamp:
06/12/23 11:52:10 (22 months ago)
Author:
jdquinn
Message:

BUG: Use MATLAB style indexing of ranges in test suites

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/test/NightlyRun/GetIds.py

    r25956 r27787  
    5454    #
    5555    # NOTE: ID inclusion/exclusion lists will always hit this condition
    56     #       becasue of the way their respective arguments are gathered at the
     56    #       because of the way their respective arguments are gathered at the
    5757    #       end of __main__ in the call to function runme.
    5858    if type(ids_names) == list and len(ids_names) == 2:
     
    6363                if ':' in i:
    6464                    i_range = i.split(':')
    65                     for j in range(int(i_range[0]), int(i_range[1])):
     65                    for j in range(int(i_range[0]), int(i_range[1]) + 1):
    6666                        ids_expanded.append(j)
    6767                else:
Note: See TracChangeset for help on using the changeset viewer.