Ignore:
Timestamp:
Jun 1, 2007, 4:39:17 PM (17 years ago)
Author:
duncan
Message:

ticket#169

File:
1 edited

Legend:

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

    r4524 r4526  
    16491649    #print "base",base
    16501650   
    1651     if dir == "": dir = "." # Unix compatibility
     1651    if dir == "":
     1652        dir = "." # Unix compatibility
    16521653    dir_ls = os.listdir(dir)
    16531654    interate_over = [x[:-4] for x in dir_ls if base in x and x[-4:] == '.sww']
    1654     #print "interate_over", interate_over
     1655
     1656    if len(interate_over) == 0:
     1657        msg = 'No files of the base name %s.'\
     1658              %(basename_in)
     1659        raise IOError, msg
    16551660   
    16561661    files_out = []
Note: See TracChangeset for help on using the changeset viewer.