summaryrefslogtreecommitdiffstats
path: root/Wrappers/Python
diff options
context:
space:
mode:
authorEdoardo Pasca <edo.paskino@gmail.com>2019-06-07 09:30:34 +0100
committerEdoardo Pasca <edo.paskino@gmail.com>2019-06-07 09:30:34 +0100
commit218dc267849a8fd53f3e92ebe56d2a5926a302b9 (patch)
treefdf6114a81db602d08272de2fd52be68f73fe6de /Wrappers/Python
parent1bdd5f572988caa3888b33a0b422692fa78962ef (diff)
downloadframework-218dc267849a8fd53f3e92ebe56d2a5926a302b9.tar.gz
framework-218dc267849a8fd53f3e92ebe56d2a5926a302b9.tar.bz2
framework-218dc267849a8fd53f3e92ebe56d2a5926a302b9.tar.xz
framework-218dc267849a8fd53f3e92ebe56d2a5926a302b9.zip
reinstated check of dimension_label None
Diffstat (limited to 'Wrappers/Python')
-rwxr-xr-xWrappers/Python/ccpi/framework/framework.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Wrappers/Python/ccpi/framework/framework.py b/Wrappers/Python/ccpi/framework/framework.py
index f91343c..e1927c3 100755
--- a/Wrappers/Python/ccpi/framework/framework.py
+++ b/Wrappers/Python/ccpi/framework/framework.py
@@ -329,7 +329,7 @@ class DataContainer(object):
self.dimension_labels = {}
self.geometry = None # Only relevant for AcquisitionData and ImageData
- if dimension_labels != {} and \
+ if dimension_labels is not None and \
len (dimension_labels) == self.number_of_dimensions:
for i in range(self.number_of_dimensions):
self.dimension_labels[i] = dimension_labels[i]