Changeset 1200


Ignore:
Timestamp:
05/02/09 18:11:36 (3 years ago)
Author:
Peter Peterson
Message:

Fixed error in getting attributes. Refs #158.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/applications/nxdiff

    r1199 r1200  
    1616        if len(self.dims) == 1: 
    1717            self.dims=self.dims[0] 
    18         self.attrs = getAttrs(nxs) 
     18        self.attrs = nxs.getattrs() 
    1919        self.data = nxs.getdata() 
    20  
    21 def getAttrs(nxs): 
    22     attrs = {} 
    23     nxs.initattrdir 
    24     attr = nxs.getnextattr() 
    25     while attr[0] is not None and attr[1] is not None: 
    26         attrs[attr[0]] = attr[1] 
    27         attr = nxs.getnextattr() 
    28     return attrs 
    2920 
    3021def getDiffSym(diffType, format): 
Note: See TracChangeset for help on using the changeset viewer.