Ignore:
Timestamp:
08/02/08 20:03:23 (13 years ago)
Author:
astephen
Message:
 
File:
1 edited

Legend:

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

    r3321 r3330  
    1414 
    1515# Imports from local package 
    16 import utils.text_parser 
     16import nappy.utils.text_parser 
    1717import nappy.na_file.na_file 
    1818 
    19 class NAFile1001(nappy.na_file.naFile.NAFile): 
     19class NAFile1001(nappy.na_file.na_file.NAFile): 
    2020    """ 
    2121    Class to read, write and interact with NASA Ames files conforming to the 
     
    2828        """ 
    2929        self._readCommonHeader() 
    30         self.DX = utils.text_parser.readItemsFromLine(self.file.readline(), self.NIV, float) 
    31         self.XNAME = utils.text_parser.readItemsFromLines(self._readLines(self.NIV), self.NIV, str) 
     30        self.DX = nappy.utils.text_parser.readItemsFromLine(self.file.readline(), self.NIV, float) 
     31        self.XNAME = nappy.utils.text_parser.readItemsFromLines(self._readLines(self.NIV), self.NIV, str) 
    3232        self._readVariablesHeaderSection() 
    3333        self._readComments() 
     
    5959        Reads first line/section of current block of data. 
    6060        """ 
    61         (x_and_v, rtlines) = utils.text_parser.readItemsFromUnknownLines(datalines, 1 + self.NV, float) 
     61        (x_and_v, rtlines) = nappy.utils.text_parser.readItemsFromUnknownLines(datalines, 1 + self.NV, float) 
    6262        (x, v) = (x_and_v[0], x_and_v[1:]) 
    6363        self.X.append(x) 
Note: See TracChangeset for help on using the changeset viewer.