Changeset 5550
- Timestamp:
- Jul 22, 2008, 1:38:03 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/shallow_water/data_manager.py
r5546 r5550 5040 5040 # Establish permutation array 5041 5041 if ordering_filename is not None: 5042 5042 5043 if verbose is True: 5044 print 'Reading ordering file', ordering_filename 5043 5045 # Read ordering file 5044 5046 try: … … 5054 5056 reference_header_split = reference_header.split(',') 5055 5057 for i in range(3): 5056 if not file_header[i] == reference_header_split[i]:5057 msg = 'File must contain header: '+reference_header +'\n'5058 if not file_header[i].strip() == reference_header_split[i].strip(): 5059 msg = 'File must contain header: '+reference_header 5058 5060 raise Exception, msg 5059 5061
Note: See TracChangeset
for help on using the changeset viewer.