Browse Source

Merge pull request #98 from jimrybarski/96-context-manager

#96: documentation changes
master
Jim Rybarski 9 years ago
parent
commit
3cc7e03e2e
2 changed files with 3 additions and 3 deletions
  1. +2
    -1
      nd2reader/interface.py
  2. +1
    -2
      nd2reader/version.py

+ 2
- 1
nd2reader/interface.py View File

@ -93,7 +93,8 @@ class Nd2(object):
:return: model.ImageSet() :return: model.ImageSet()
""" """
warnings.warn("Nd2.image_sets will be removed from the nd2reader library in the near future.", DeprecationWarning)
warnings.warn("Nd2.image_sets will be removed from the nd2reader library in the near future.",
DeprecationWarning)
for frame in self.frames: for frame in self.frames:
image_group = ImageGroup() image_group = ImageGroup()


+ 1
- 2
nd2reader/version.py View File

@ -6,8 +6,7 @@ def get_version(fh):
""" """
Determines what version the ND2 is. Determines what version the ND2 is.
:param filename: the path (absolute or relative) to the ND2
:type filename: str
:param fh: a file handle to the ND2
""" """
# the first 16 bytes seem to have no meaning, so we skip them # the first 16 bytes seem to have no meaning, so we skip them


Loading…
Cancel
Save