Skip to content

Commit

Permalink
temp_commit
Browse files Browse the repository at this point in the history
  • Loading branch information
parichit committed Aug 13, 2018
1 parent fe09b3a commit e06854a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
8 changes: 4 additions & 4 deletions dipy/workflows/tests/test_vis.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def test_mosaic():
out_dir=temp_out_dir,
out_moved=out_moved,
out_affine=out_affine,
save_metric=True,
save_metric=False,
level_iters=[100, 10, 1],
out_quality='affine_q.txt')

Expand All @@ -54,9 +54,9 @@ def test_mosaic():

x, y, z = overlapped.shape[:3]

assert overlapped[x//2, :, :, 2] is 0
assert overlapped[:, y//2, :, 2] is 0
assert overlapped[:, :, z//2, 2] is 0
assert overlapped[x//2, :, :, 2] == 0
assert overlapped[:, y//2, :, 2] == 0
assert overlapped[:, :, z//2, 2] == 0

if __name__ == "__main__":
run_module_suite()
Expand Down
3 changes: 0 additions & 3 deletions dipy/workflows/vis_registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,6 @@ def create_mosaic(self, static_img, moved_img, affine, fname):
overlay, value_range = self.process_image_data(static_img,
moved_img)

print(overlay.shape)
print(overlay[50,50,50,:])

if fname is None:
return overlay

Expand Down

0 comments on commit e06854a

Please sign in to comment.