Browse Source

Rename exceptions

zolfa-add_slices_loading
Ruben Verweij 8 years ago
parent
commit
685afb16ab
4 changed files with 3 additions and 3 deletions
  1. +1
    -1
      nd2reader/common.py
  2. +0
    -0
      nd2reader/exceptions.py
  3. +1
    -1
      nd2reader/nd2parser.py
  4. +1
    -1
      nd2reader/nd2reader.py

+ 1
- 1
nd2reader/common.py View File

@ -3,7 +3,7 @@ import array
from datetime import datetime from datetime import datetime
import six import six
import re import re
from nd2reader.exc import InvalidVersionError
from nd2reader.exceptions import InvalidVersionError
def get_version(fh): def get_version(fh):


nd2reader/exc.py → nd2reader/exceptions.py View File


+ 1
- 1
nd2reader/nd2parser.py View File

@ -7,7 +7,7 @@ from pims import Frame
import numpy as np import numpy as np
from nd2reader.common import get_version, read_chunk from nd2reader.common import get_version, read_chunk
from nd2reader.exc import InvalidVersionError, NoImageError
from nd2reader.exceptions import InvalidVersionError, NoImageError
from nd2reader.label_map import LabelMap from nd2reader.label_map import LabelMap
from nd2reader.raw_metadata import RawMetadata from nd2reader.raw_metadata import RawMetadata


+ 1
- 1
nd2reader/nd2reader.py View File

@ -1,5 +1,5 @@
from pims import FramesSequenceND, Frame from pims import FramesSequenceND, Frame
from nd2reader.exc import NoImageError
from nd2reader.exceptions import NoImageError
from nd2reader.nd2parser import ND2Parser from nd2reader.nd2parser import ND2Parser


Loading…
Cancel
Save