File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 2424from savu .plugins .plugin import Plugin
2525from savu .plugins .driver .cpu_plugin import CpuPlugin
2626from savu .plugins .utils import register_plugin
27+ import savu .core .utils as cu
2728from skimage .registration import phase_cross_correlation
2829from skimage import transform as tf
2930from savu .core .iterate_plugin_group_utils import check_if_in_iterative_loop
@@ -113,8 +114,11 @@ def post_process(self):
113114 comm = MPI .COMM_WORLD
114115 rank = comm .Get_rank ()
115116 if rank == 0 :
116- print (f"The alignment error is: { error_scalar } " )
117- logging .debug ("The alignment error is %f" % error_scalar )
117+ info_msg = "The alignment error is : %s" % (
118+ str (error_scalar ))
119+ #print(f"The alignment error is: {error_scalar}")
120+ logging .debug (info_msg )
121+ cu .user_message (info_msg )
118122 if self .iterations_number == 1 :
119123 self .error_alignment_vector [0 ] = error_scalar
120124 else :
You can’t perform that action at this time.
0 commit comments