Changeset 5104


Ignore:
Timestamp:
Mar 4, 2008, 10:09:41 AM (16 years ago)
Author:
duncan
Message:

IP licence work

Files:
1 deleted
1 edited
3 moved

Legend:

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

    r5070 r5104  
    41684168    quantities = ['HA','UA','VA']
    41694169
    4170     for file_name in files_in:
    4171         if os.access(file_name, os.F_OK) == 0 :
    4172             msg = 'File %s does not exist or is not accessible' %file_name
    4173             raise IOError, msg
    4174        
     4170    #if os.access(files_in[0]+'.mux', os.F_OK) == 0 :
     4171    print "dfdfds"
     4172    for i, file_name in enumerate(files_in):
     4173        if os.access(file_name, os.F_OK) == 0:
     4174            if os.access(file_name+'.mux', os.F_OK) == 0 :
     4175                msg = 'File %s does not exist or is not accessible' %file_name
     4176                raise IOError, msg
     4177            else:
     4178               files_in[i] += '.mux'
     4179               print "file_name", file_name
     4180    print "files_in",   files_in
    41754181    hashed_elevation = None
    41764182    for file_in, file_out, quantity in map(None, files_in,
Note: See TracChangeset for help on using the changeset viewer.