Ignore:
Timestamp:
10/02/08 21:25:03 (12 years ago)
Author:
astephen
Message:

Fixed some bad imports in main na_file modules.

File:
1 edited

Legend:

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

    r3349 r3356  
    1414 
    1515# Imports from local package 
    16 import utils.text_parser 
     16import nappy.utils.text_parser 
    1717import nappy.na_file.na_file_2110 
    1818 
     
    2929        self._normalized_X = False 
    3030        self._readCommonHeader() 
    31         self.DX = utils.text_parser.readItemsFromLine(self.file.readline(), 1, float) 
    32         self.XNAME = utils.text_parser.readItemsFromLines(self._readLines(self.NIV), self.NIV, str) 
     31        self.DX = nappy.utils.text_parser.readItemsFromLine(self.file.readline(), 1, float) 
     32        self.XNAME = nappy.utils.text_parser.readItemsFromLines(self._readLines(self.NIV), self.NIV, str) 
    3333        self.XNAME.reverse()  # Reverse because C-type array is least-changing first           
    3434        self._readVariablesHeaderSection() 
     
    5656        """         
    5757        # Start with independent and Auxilliary vars 
    58         (x_and_a, rtlines) = utils.text_parser.readItemsFromUnknownLines(datalines, self.NAUXV + 1, float) 
     58        (x_and_a, rtlines) = nappy.utils.text_parser.readItemsFromUnknownLines(datalines, self.NAUXV + 1, float) 
    5959        (x, aux) = (x_and_a[0], x_and_a[1:]) 
    6060 
     
    7878        """ 
    7979        # Now get the dependent variables 
    80         (v, rtlines) = utils.text_parser.readItemsFromUnknownLines(datalines, self.NV * self.NX[ivar_count], float) 
     80        (v, rtlines) = nappy.utils.text_parser.readItemsFromUnknownLines(datalines, self.NV * self.NX[ivar_count], float) 
    8181        count = 0 
    8282        for n in range(self.NV): 
Note: See TracChangeset for help on using the changeset viewer.