Ignore:
Timestamp:
10/02/08 20:27:36 (12 years ago)
Author:
astephen
Message:
 
File:
1 edited

Legend:

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

    r3321 r3354  
    1616 
    1717# Imports from local package 
    18 import utils.text_parser 
    19 import nappy.na_file.na_file 
     18import nappy.utils.text_parser 
     19import nappy.na_file.na_file.na_file_1001 
    2020 
    2121class NAFile1010(nappy.na_file.na_file_1001.NAFile1001): 
     
    3030        """         
    3131        self._readCommonHeader() 
    32         self.DX = utils.text_parser.readItemsFromLine(self.file.readline(), self.NIV, float) 
    33         self.XNAME = utils.text_parser.readItemsFromLines(self._readLines(self.NIV), self.NIV, str) 
     32        self.DX = nappy.utils.text_parser.readItemsFromLine(self.file.readline(), self.NIV, float) 
     33        self.XNAME = nappy.utils.text_parser.readItemsFromLines(self._readLines(self.NIV), self.NIV, str) 
    3434        self._readVariablesHeaderSection() 
    3535        self._readAuxVariablesHeaderSection() 
     
    6767        """ 
    6868        # Start with independent and Auxilliary vars 
    69         (x2_and_a, rtlines) = utils.text_parser.readItemsFromUnknownLines(datalines, 1 + self.NAUXV, float) 
     69        (x2_and_a, rtlines) = nappy.utils.text_parser.readItemsFromUnknownLines(datalines, 1 + self.NAUXV, float) 
    7070        (x, aux) = (x2_and_a[0], x2_and_a[1:]) 
    7171        self.X.append(x) 
     
    8282        """         
    8383        # Now get the dependent variables 
    84         (v, rtlines) = utils.text_parser.readItemsFromUnknownLines(datalines, self.NV, float)               
     84        (v, rtlines) = nappy.utils.text_parser.readItemsFromUnknownLines(datalines, self.NV, float)               
    8585                                         
    8686        count = 0 
Note: See TracChangeset for help on using the changeset viewer.