Skip to content

Commit

Permalink
Updated test pararmeters
Browse files Browse the repository at this point in the history
  • Loading branch information
SaimMomin12 committed Sep 18, 2024
1 parent 34aef8f commit 80709fa
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions tools/cellpose/cellpose.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="cellpose" name="Run generalist cell and nucleus segmentation" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="22.05">
<tool id="cellpose" name="Run generalist cell and nucleus segmentation" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.02">
<description>with Cellpose</description>
<macros>
<token name="@TOOL_VERSION@">3.0.11</token>
Expand Down Expand Up @@ -76,66 +76,66 @@
<param name="model_type" value="cyto"/>
<param name="chan" value="2"/>
<param name="chan2" value="3"/>
<output name="cp_mask" file="img02_cp_masks_cyto.tif" compare="sim_size" delta_frac="0.1"/>
<output name="cp_segm" file="img02_cp_segm_cyto.png" compare="sim_size" delta_frac="0.1"/>
<output name="cp_mask" file="img02_cp_masks_cyto.tif" compare="image_diff" metric="mae" eps="0.01"/>
<output name="cp_segm" file="img02_cp_segm_cyto.png" compare="image_diff" metric="mae" eps="0.01"/>
</test>
<test expect_num_outputs="2">
<param name="img_in" value="img02.png"/>
<param name="model_type" value="cyto2"/>
<param name="chan" value="2"/>
<param name="chan2" value="3"/>
<output name="cp_mask" file="img02_cp_masks_cyto2.tif" compare="sim_size" delta_frac="0.1"/>
<output name="cp_segm" file="img02_cp_segm_cyto2.png" compare="sim_size" delta_frac="0.1"/>
<output name="cp_mask" file="img02_cp_masks_cyto2.tif" compare="image_diff" metric="mae" eps="0.01"/>
<output name="cp_segm" file="img02_cp_segm_cyto2.png" compare="image_diff" metric="mae" eps="0.01"/>
</test>
<test expect_num_outputs="2">
<param name="img_in" value="img02.png"/>
<param name="model_type" value="cyto3"/>
<param name="chan" value="2"/>
<param name="chan2" value="3"/>
<output name="cp_mask" file="img02_cp_masks_cyto3.tif" compare="sim_size" delta_frac="0.1"/>
<output name="cp_segm" file="img02_cp_segm_cyto3.png" compare="sim_size" delta_frac="0.1"/>
<output name="cp_mask" file="img02_cp_masks_cyto3.tif" compare="image_diff" metric="mae" eps="0.01"/>
<output name="cp_segm" file="img02_cp_segm_cyto3.png" compare="image_diff" metric="mae" eps="0.01"/>
</test>
<test expect_num_outputs="2">
<param name="img_in" value="img02.png"/>
<param name="model_type" value="nuclei"/>
<param name="chan" value="2"/>
<param name="chan2" value="3"/>
<output name="cp_mask" file="img02_cp_masks_nuclei.tif" compare="sim_size" delta_frac="0.1"/>
<output name="cp_segm" file="img02_cp_segm_nuclei.png" compare="sim_size" delta_frac="0.1"/>
<output name="cp_mask" file="img02_cp_masks_nuclei.tif" compare="image_diff" metric="mae" eps="0.01"/>
<output name="cp_segm" file="img02_cp_segm_nuclei.png" compare="image_diff" metric="mae" eps="0.01"/>
</test>
<test expect_num_outputs="2">
<param name="img_in" value="img02.png"/>
<param name="model_type" value="cyto"/>
<param name="chan" value="2"/>
<param name="chan2" value="1"/>
<output name="cp_mask" file="img02_cp_masks_chan.tif" compare="sim_size" delta_frac="0.1"/>
<output name="cp_segm" file="img02_cp_segm_chan.png" compare="sim_size" delta_frac="0.1"/>
<output name="cp_mask" file="img02_cp_masks_chan.tif" compare="image_diff" metric="mae" eps="0.01"/>
<output name="cp_segm" file="img02_cp_segm_chan.png" compare="image_diff" metric="mae" eps="0.01"/>
</test>
<test expect_num_outputs="2">
<param name="img_in" value="img02.png"/>
<param name="model_type" value="cyto"/>
<param name="chan" value="2"/>
<param name="chan2" value="3"/>
<param name="diameter" value="50"/>
<output name="cp_mask" file="img02_cp_masks_diameter.tif" compare="sim_size" delta_frac="0.1"/>
<output name="cp_segm" file="img02_cp_segm_diameter.png" compare="sim_size" delta_frac="0.1"/>
<output name="cp_mask" file="img02_cp_masks_diameter.tif" compare="image_diff" metric="mae" eps="0.01"/>
<output name="cp_segm" file="img02_cp_segm_diameter.png" compare="image_diff" metric="mae" eps="0.01"/>
</test>
<test expect_num_outputs="2">
<param name="img_in" value="img02.png"/>
<param name="use_gpu" value="true"/>
<param name="model_type" value="cyto"/>
<param name="chan" value="2"/>
<param name="chan2" value="3"/>
<output name="cp_mask" file="img02_cp_masks_gpu.tif" compare="sim_size" delta_frac="0.1"/>
<output name="cp_segm" file="img02_cp_segm_gpu.png" compare="sim_size" delta_frac="0.1"/>
<output name="cp_mask" file="img02_cp_masks_gpu.tif" compare="image_diff" metric="mae" eps="0.01"/>
<output name="cp_segm" file="img02_cp_segm_gpu.png" compare="image_diff" metric="mae" eps="0.01"/>
</test>
<test expect_num_outputs="1">
<param name="img_in" value="img02.png"/>
<param name="model_type" value="cyto"/>
<param name="chan" value="2"/>
<param name="chan2" value="3"/>
<param name="show_segmentation" value="false"/>
<output name="cp_mask" file="img02_cp_masks_cyto.tif" compare="sim_size" delta_frac="0.1"/>
<output name="cp_mask" file="img02_cp_masks_cyto.tif" compare="image_diff" metric="mae" eps="0.01"/>
</test>
</tests>
<help>
Expand Down
Binary file modified tools/cellpose/test-data/img02_cp_masks_chan.tif
Binary file not shown.
Binary file modified tools/cellpose/test-data/img02_cp_masks_cyto.tif
Binary file not shown.
Binary file modified tools/cellpose/test-data/img02_cp_masks_cyto2.tif
Binary file not shown.
Binary file modified tools/cellpose/test-data/img02_cp_masks_diameter.tif
Binary file not shown.
Binary file modified tools/cellpose/test-data/img02_cp_masks_gpu.tif
Binary file not shown.
Binary file modified tools/cellpose/test-data/img02_cp_masks_nuclei.tif
Binary file not shown.
Binary file modified tools/cellpose/test-data/img02_cp_segm_chan.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tools/cellpose/test-data/img02_cp_segm_cyto.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tools/cellpose/test-data/img02_cp_segm_cyto2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tools/cellpose/test-data/img02_cp_segm_cyto3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tools/cellpose/test-data/img02_cp_segm_diameter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tools/cellpose/test-data/img02_cp_segm_gpu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tools/cellpose/test-data/img02_cp_segm_nuclei.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 80709fa

Please sign in to comment.