We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 70fad8e + e708135 commit e51a488Copy full SHA for e51a488
1 file changed
TPTBox/core/nii_poi_abstract.py
@@ -305,8 +305,8 @@ def assert_affine(
305
306
# Print errors
307
for err in found_errors:
308
- text = f"{text}; {err}" if text else f"{err}"
309
- log.print(f"{text}", ltype=Log_Type.FAIL, verbose=verbose)
+ text2 = f"{text}; {err}" if text else f"{err}"
+ log.print(f"{text2}", ltype=Log_Type.FAIL, verbose=verbose)
310
# Final conclusion and possible raising of AssertionError
311
has_errors = len(found_errors) > 0
312
if raise_error and has_errors:
0 commit comments