Changeset 1781 for trunk/bindings
- Timestamp:
- 30/11/11 08:09:42 (6 months ago)
- Location:
- trunk/bindings/python
- Files:
-
- 3 added
- 1 edited
-
nxs/napi.py (modified) (3 diffs)
-
test (added)
-
test/nxs_napi_lowlevel.py (added)
-
test/runtest.py (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bindings/python/nxs/napi.py
r1770 r1781 289 289 290 290 mode can be one of the following: 291 nxs.ACC_READ 'r' 292 nxs.ACC_RDWR 'rw' 293 nxs.ACC_CREATE 'w' 294 nxs.ACC_CREATE4 'w4' 295 nxs.ACC_CREATE5 'w5' 296 nxs.ACC_CREATEXML 'wx' 291 nxs.ACC_READ 'r' open a file read-only 292 nxs.ACC_RDWR 'rw' open a file read/write 293 nxs.ACC_CREATE 'w' open a file write 294 nxs.ACC_CREATE4 'w4' open a Nexus file with HDF4 295 nxs.ACC_CREATE5 'w5' open a Nexus file with HDF5 296 nxs.ACC_CREATEXML 'wx' open a Nexus file with XML 297 297 298 298 Raises ValueError if the open mode is invalid. … … 561 561 this will search for it. 562 562 563 Raises ValueError if the group could not be opened.563 Raises NeXusError if the group could not be opened. 564 564 565 565 Corresponds to NXopengroup(handle, name, nxclass) … … 697 697 if nxname is None: 698 698 break 699 raise NeXusError("Failed to find entry with name \"%s\" " \ 700 + "at %s" % (target, self.path)) 699 raise NeXusError("Failed to find entry with name \"%s\" at %s" % (target, self.path)) 701 700 702 701 def entries(self):
Note: See TracChangeset
for help on using the changeset viewer.
