diff options
author | Edoardo Pasca <edo.paskino@gmail.com> | 2019-06-07 09:30:34 +0100 |
---|---|---|
committer | Edoardo Pasca <edo.paskino@gmail.com> | 2019-06-07 09:30:34 +0100 |
commit | 218dc267849a8fd53f3e92ebe56d2a5926a302b9 (patch) | |
tree | fdf6114a81db602d08272de2fd52be68f73fe6de /Wrappers/Python | |
parent | 1bdd5f572988caa3888b33a0b422692fa78962ef (diff) | |
download | framework-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-x | Wrappers/Python/ccpi/framework/framework.py | 2 |
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] |