Skip to content

Commit e51a488

Browse files
authored
Merge pull request #102 from Hendrik-code/dev_hendrik
copilot fix
2 parents 70fad8e + e708135 commit e51a488

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

TPTBox/core/nii_poi_abstract.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,8 @@ def assert_affine(
305305

306306
# Print errors
307307
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)
308+
text2 = f"{text}; {err}" if text else f"{err}"
309+
log.print(f"{text2}", ltype=Log_Type.FAIL, verbose=verbose)
310310
# Final conclusion and possible raising of AssertionError
311311
has_errors = len(found_errors) > 0
312312
if raise_error and has_errors:

0 commit comments

Comments
 (0)