Ignore:
Timestamp:
12/02/08 11:53:25 (12 years ago)
Author:
astephen
Message:

Changed spacer to delimiter.

File:
1 edited

Legend:

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

    r3357 r3383  
    6464 
    6565        for i in range(self.NIV - 1): 
    66             X_lines.append(((self.float_format + self.spacer) * self.NXDEF[i] + "\n") % tuple(self.X[i + 1][0:self.NXDEF[i]])) 
     66            X_lines.append(((self.float_format + self.delimiter) * self.NXDEF[i] + "\n") % tuple(self.X[i + 1][0:self.NXDEF[i]])) 
    6767 
    6868        X_lines.reverse() 
     
    129129        for m in range(len(self.X[0])): 
    130130            # Write Independent variable mark and auxiliary variables 
    131             var_string = (self.float_format + self.spacer) % self.X[0][m] 
     131            var_string = (self.float_format + self.delimiter) % self.X[0][m] 
    132132            for a in range(self.NAUXV): 
    133                 var_string = var_string + ((self.float_format + self.spacer) % self.A[a][m]) 
     133                var_string = var_string + ((self.float_format + self.delimiter) % self.A[a][m]) 
    134134            self.file.write("%s\n" % var_string.rstrip()) 
    135135            # Write Variables 
    136136            for n in range(self.NV): 
    137                 outlines = nappy.utils.list_manipulator.recursiveListWriter(self.V[n][m], self.NX, spacer = self.spacer, float_format = self.float_format) 
     137                outlines = nappy.utils.list_manipulator.recursiveListWriter(self.V[n][m], self.NX, delimiter = self.delimiter, float_format = self.float_format) 
    138138                for line in outlines: 
    139139                    self.file.write(line) 
Note: See TracChangeset for help on using the changeset viewer.