diff options
Diffstat (limited to 'Wrappers')
-rwxr-xr-x | Wrappers/Python/ccpi/framework/framework.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Wrappers/Python/ccpi/framework/framework.py b/Wrappers/Python/ccpi/framework/framework.py index 4eb37bf..3840f2c 100755 --- a/Wrappers/Python/ccpi/framework/framework.py +++ b/Wrappers/Python/ccpi/framework/framework.py @@ -299,14 +299,14 @@ class AcquisitionGeometry(object): self.shape = tuple([shape[i] for i in order]) self.dimension_labels = labels - def get_order_by_label(self, dimension_labels, default_dimension_labels): - order = [] - for i, el in enumerate(dimension_labels): - for j, ek in enumerate(default_dimension_labels): - if el == ek: - order.append(j) - break - return order + def get_order_by_label(self, dimension_labels, default_dimension_labels): + order = [] + for i, el in enumerate(dimension_labels): + for j, ek in enumerate(default_dimension_labels): + if el == ek: + order.append(j) + break + return order |