savu/plugins/centering/centering360.py 1 location
|
@@ 435-445 (lines=11) @@
|
| 432 |
|
def fix_transport(self): |
| 433 |
|
return 'hdf5' |
| 434 |
|
|
| 435 |
|
def executive_summary(self): |
| 436 |
|
if ((self.error_msg_1 == "") |
| 437 |
|
and (self.error_msg_2 == "")): |
| 438 |
|
msg = "Centre of rotation is : %s" % ( |
| 439 |
|
str(self.cor_for_executive_summary)) |
| 440 |
|
else: |
| 441 |
|
msg = "\n" + self.error_msg_1 + "\n" + self.error_msg_2 |
| 442 |
|
msg2 = "(Not well) estimated centre of rotation is : %s" % (str( |
| 443 |
|
self.cor_for_executive_summary)) |
| 444 |
|
cu.user_message(msg2) |
| 445 |
|
return [msg] |
| 446 |
|
|
savu/plugins/centering/vo_centering.py 1 location
|
@@ 315-325 (lines=11) @@
|
| 312 |
|
def fix_transport(self): |
| 313 |
|
return 'hdf5' |
| 314 |
|
|
| 315 |
|
def executive_summary(self): |
| 316 |
|
if ((self.error_msg_1 == "") |
| 317 |
|
and (self.error_msg_2 == "")): |
| 318 |
|
msg = "Centre of rotation is : %s" % ( |
| 319 |
|
str(self.cor_for_executive_summary)) |
| 320 |
|
else: |
| 321 |
|
msg = "\n" + self.error_msg_1 + "\n" + self.error_msg_2 |
| 322 |
|
msg2 = "(Not well) estimated centre of rotation is : %s" % (str( |
| 323 |
|
self.cor_for_executive_summary)) |
| 324 |
|
cu.user_message(msg2) |
| 325 |
|
return [msg] |
| 326 |
|
|