Skip to content

Commit

Permalink
do not clean tf file
Browse files Browse the repository at this point in the history
Signed-off-by: neuronflow <[email protected]>
  • Loading branch information
neuronflow committed Apr 4, 2024
1 parent cf88264 commit b162819
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions unit_tests/test_full.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ def test_registration_function():
transform_file=transform_file,
log_file=log_file,
)


# checks
_image_sanity_check(atlas_sri, output_image)
assert os.path.exists(transform_file), "Transform file not created."
assert os.path.exists(log_file), "Log file not created."
Expand Down Expand Up @@ -131,9 +132,13 @@ def test_resample_function():
configuration=test_config,
log_file=log_file,
)

# checks
_image_sanity_check(atlas_sri, output_image)
assert os.path.exists(log_file), "Log file not created."
for file_to_delete in [output_image, transform_file, log_file]:

# cleanup
for file_to_delete in [output_image, log_file]:
os.remove(file_to_delete)


Expand Down

0 comments on commit b162819

Please sign in to comment.