Ignore:
Timestamp:
Jun 20, 2007, 11:26:42 AM (17 years ago)
Author:
ole
Message:

Spelling and comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/shallow_water/data_manager.py

    r4545 r4548  
    16541654        dir = "." # Unix compatibility
    16551655    dir_ls = os.listdir(dir)
    1656     interate_over = [x[:-4] for x in dir_ls if base in x and x[-4:] == '.sww']
    1657 
    1658     if len(interate_over) == 0:
     1656    iterate_over = [x[:-4] for x in dir_ls if base in x and x[-4:] == '.sww']
     1657
     1658    if len(iterate_over) == 0:
    16591659        msg = 'No files of the base name %s.'\
    16601660              %(basename_in)
     
    16631663    files_out = []
    16641664#    print 'sww_file',sww_file
    1665     for sww_file in interate_over:
     1665    for sww_file in iterate_over:
    16661666        for quantity in quantities:
    16671667            if extra_name_out is None:
     
    18561856    # deal with either option
    18571857   
    1858     #if verbose: bye= nsuadsfd[0] #uncomment to check catching verbose errors
     1858    #if verbose: bye= nsuadsfd[0] # uncomment to check catching verbose errors
    18591859   
    18601860    #Read sww file
     
    18971897
    18981898
    1899     #FIXME: Refactor using code from file_function.statistics
     1899    #FIXME: Refactor using code from Interpolation_function.statistics (in interpolate.py)
    19001900    #Something like print swwstats(swwname)
    19011901    if verbose:
Note: See TracChangeset for help on using the changeset viewer.