Skip to content

Commit

Permalink
updated for tox
Browse files Browse the repository at this point in the history
  • Loading branch information
Macl-I committed Jun 19, 2024
1 parent 6fcf589 commit 4e1fd06
Show file tree
Hide file tree
Showing 30 changed files with 8 additions and 3 deletions.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file removed src/napari_fast4dreg/_tests/test_input.tif
Binary file not shown.
11 changes: 8 additions & 3 deletions src/napari_fast4dreg/_tests/test_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,20 @@
from napari_fast4dreg._widget import Fast4DReg_widget

def test_Fast4DReg_widget():
test_image = tifffile.imread('test_input.tif')
reference_registered_image = tifffile.imread('registered.tif')
# working path is napari-fast4dreg/napari-fast4dreg/
#

test_image = tifffile.imread('example_files/xtitched_organoid_timelapse_ch0_cytosol_ch1_nuclei.tif')
reference_registered_image = tifffile.imread('example_files/registered.tif')
out_folder = 'example_files/'
resgistered_image = Fast4DReg_widget(image = test_image,
axes = 1,
output_path = r"E:\Data_Leuven\Fast4DReg_Dask\plugin_output_trial",
output_path = out_folder,
ref_channel = r"1",
correct_xy = True,
correct_z = True,
correct_center_rotation = True,
crop_output = True,
export_csv = True )

assert resgistered_image == reference_registered_image

0 comments on commit 4e1fd06

Please sign in to comment.