Skip to content

Commit

Permalink
Add TIFF test
Browse files Browse the repository at this point in the history
  • Loading branch information
kostrykin committed Jun 19, 2024
1 parent f007892 commit 3815c2a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tools/plantseg/plantseg.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</configfiles>
<inputs>

<param name="img_in" type="data" format="tiff,png,h5" label="Dataset" />
<param name="img_in" type="data" format="tiff,h5" label="3-D volumetric input image" help="The 2-D slices must be stacked along the first axis." />

<section name="preprocessing" title="Pre-processing" expanded="false">
<param name="state" type="boolean" checked="true" label="Enabled" truevalue="true" falsevalue="false" />
Expand Down Expand Up @@ -84,10 +84,14 @@
<data format="h5" name="masks" from_work_dir="masks.h5" />
</outputs>
<tests>
<test>
<test><!-- Test H5 input -->
<param name="img_in" value="sample_ovule.h5" />
<output name="masks" value="sample_ovule_output.h5" ftype="h5" compare="sim_size" delta="100" delta_frac="0.1" />
</test>
<test><!-- Test TIFF input -->
<param name="img_in" value="sample_ovule.tiff" />
<output name="masks" value="sample_ovule_output.h5" ftype="h5" compare="sim_size" delta="100" delta_frac="0.1" />
</test>
</tests>
<help>

Expand Down
Binary file added tools/plantseg/test-data/sample_ovule.tiff
Binary file not shown.

0 comments on commit 3815c2a

Please sign in to comment.