Ignore:
Timestamp:
08/04/09 01:14:55 (3 years ago)
Author:
Paul Kienzle
Message:

python binding requires matched open/close data to maintain path. Refs #101.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bindings/python/nxstest.py

    r1221 r1222  
    132132    # .. demonstrate extensible data 
    133133    file.makedata('flush_data','int32',[nxs.UNLIMITED]) 
     134    file.opendata('flush_data') 
    134135    for i in range(7): 
    135         file.opendata('flush_data') 
    136136        file.putslab(i,[i],[1]) 
    137         file.flush() 
    138         # Oops... why isn't there a closedata()? 
     137    file.closedata() 
     138    file.flush() 
    139139    file.closegroup() 
    140140 
Note: See TracChangeset for help on using the changeset viewer.