newline removed
This commit is contained in:
@@ -256,7 +256,7 @@ class LamNIAlignmentMixin:
|
||||
"""
|
||||
tomo_fit_xray_eye = self.client.get_global_var("tomo_fit_xray_eye")
|
||||
if tomo_fit_xray_eye is None:
|
||||
print("Not applying any X-ray eye correction. No fit data available.\n")
|
||||
print("Not applying any X-ray eye correction. No fit data available.")
|
||||
return (0, 0)
|
||||
|
||||
correction_x = (
|
||||
@@ -274,7 +274,7 @@ class LamNIAlignmentMixin:
|
||||
|
||||
print(
|
||||
f"Xeye correction x={correction_x:.6f} mm,"
|
||||
f" y={correction_y:.6f} mm @ angle={angle}\n"
|
||||
f" y={correction_y:.6f} mm @ angle={angle}"
|
||||
)
|
||||
return (correction_x, correction_y)
|
||||
|
||||
@@ -343,7 +343,7 @@ class LamNIAlignmentMixin:
|
||||
def _compute_correction_xy(self, angle, corr_pos_x, corr_pos_y, corr_angle, label=""):
|
||||
"""Find the correction for the closest angle in the lookup table."""
|
||||
if not corr_pos_x:
|
||||
print(f"Not applying additional correction {label}. No data available.\n")
|
||||
print(f"Not applying additional correction {label}. No data available.")
|
||||
return (0, 0)
|
||||
|
||||
shift_x = corr_pos_x[0]
|
||||
|
||||
Reference in New Issue
Block a user