summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdoardo Pasca <edo.paskino@gmail.com>2019-05-10 12:07:16 +0100
committerEdoardo Pasca <edo.paskino@gmail.com>2019-05-10 12:07:16 +0100
commit30e78a10ddec519db3b5bba3c6e54958d8838eee (patch)
treea8b4697403bb38993985f7017cd24a80d08126bd
parent8869843482318cf25739318b91e154f3f46f8795 (diff)
downloadframework-30e78a10ddec519db3b5bba3c6e54958d8838eee.tar.gz
framework-30e78a10ddec519db3b5bba3c6e54958d8838eee.tar.bz2
framework-30e78a10ddec519db3b5bba3c6e54958d8838eee.tar.xz
framework-30e78a10ddec519db3b5bba3c6e54958d8838eee.zip
fix indentation
-rwxr-xr-xWrappers/Python/ccpi/framework/framework.py16
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