Skip to content

Commit d7cc917

Browse files
committed
Type bug fix
1 parent 250e5e1 commit d7cc917

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

derotation/analysis/full_derotation_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,7 @@ def set_optimal_center(self):
10471047
) as f:
10481048
optimal_center = f.read()
10491049
self.center_of_rotation = tuple(
1050-
map(int, optimal_center.split(":")[1].split(","))
1050+
map(float, optimal_center.split(":")[1].split(","))
10511051
)
10521052
logging.info("Optimal center of rotation found.")
10531053
except FileNotFoundError:

0 commit comments

Comments
 (0)