Changeset 4526 for anuga_core/source/anuga/shallow_water/data_manager.py
- Timestamp:
- Jun 1, 2007, 4:39:17 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/shallow_water/data_manager.py
r4524 r4526 1649 1649 #print "base",base 1650 1650 1651 if dir == "": dir = "." # Unix compatibility 1651 if dir == "": 1652 dir = "." # Unix compatibility 1652 1653 dir_ls = os.listdir(dir) 1653 1654 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 1655 1660 1656 1661 files_out = []
Note: See TracChangeset
for help on using the changeset viewer.