From 685afb16abda253f2ef9c416cddcbfaec45f7af8 Mon Sep 17 00:00:00 2001 From: Ruben Verweij Date: Fri, 17 Feb 2017 11:48:59 +0100 Subject: [PATCH] Rename exceptions --- nd2reader/common.py | 2 +- nd2reader/{exc.py => exceptions.py} | 0 nd2reader/nd2parser.py | 2 +- nd2reader/nd2reader.py | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename nd2reader/{exc.py => exceptions.py} (100%) diff --git a/nd2reader/common.py b/nd2reader/common.py index 12ae2f1..bd4cfdc 100644 --- a/nd2reader/common.py +++ b/nd2reader/common.py @@ -3,7 +3,7 @@ import array from datetime import datetime import six import re -from nd2reader.exc import InvalidVersionError +from nd2reader.exceptions import InvalidVersionError def get_version(fh): diff --git a/nd2reader/exc.py b/nd2reader/exceptions.py similarity index 100% rename from nd2reader/exc.py rename to nd2reader/exceptions.py diff --git a/nd2reader/nd2parser.py b/nd2reader/nd2parser.py index 93f7743..4cc02af 100644 --- a/nd2reader/nd2parser.py +++ b/nd2reader/nd2parser.py @@ -7,7 +7,7 @@ from pims import Frame import numpy as np 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.raw_metadata import RawMetadata diff --git a/nd2reader/nd2reader.py b/nd2reader/nd2reader.py index dae0d6e..700831d 100644 --- a/nd2reader/nd2reader.py +++ b/nd2reader/nd2reader.py @@ -1,5 +1,5 @@ from pims import FramesSequenceND, Frame -from nd2reader.exc import NoImageError +from nd2reader.exceptions import NoImageError from nd2reader.nd2parser import ND2Parser