Ignore:
Timestamp:
18/02/08 10:30:11 (12 years ago)
Author:
ckilburn
Message:

Deimitier changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nappy/trunk/nappy/na_file/na_file_2010.py

    r3440 r3446  
    5555        self._writeCommonHeader() 
    5656        self.DX.reverse() 
    57         self.header.write(("%s " * self.NIV + "\n") % tuple(self.DX)) 
     57        self.header.write((("%s" + self.delimiter) * (self.NIV - 1) + "%s\n") % tuple(self.DX)) 
    5858        self.NX.reverse() 
    59         self.header.write(("%s " * (self.NIV - 1) + "\n") % tuple(self.NX)) 
     59        self.header.write((("%s" + self.delimiter) * (self.NIV - 2) + "%s\n") % tuple(self.NX)) 
    6060        self.NXDEF.reverse() 
    61         self.header.write(("%s " * (self.NIV - 1) + "\n") % tuple(self.NXDEF)) 
     61        self.header.write((("%s" + self.delimiter) * (self.NIV - 2) + "%s\n") % tuple(self.NXDEF)) 
    6262        self.NXDEF.reverse() 
    6363        X_lines = [] 
Note: See TracChangeset for help on using the changeset viewer.