Skip to content

Commit

Permalink
Change test method with file size Rdata + expect_num_outputs
Browse files Browse the repository at this point in the history
Failed Tests
RData : Binary data detected, not displaying diff
  • Loading branch information
DamienCode404 committed Oct 24, 2024
1 parent f8e1a62 commit c9de9b2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions tools/camera/findAdducts.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
<data name="camera_findAdducts_rdata" format="rdata" label="${image.name[:-6]}.findAdducts.RData" from_work_dir="camera_findAdducts.RData" />
</outputs>
<tests>
<test>
<test expect_num_outputs="2">
<param name="image" value="faahKO-single-class.xset.merged.group.retcor.group.fillpeaks.fwhm.groupCorr.findIsotopes.RData" />
<!--<param name="ppm" value="5" />
<param name="mzabs" value="0.015" />
Expand All @@ -122,7 +122,7 @@
<param name="psg_list" value="NULL" />-->
<expand macro="test_file_load_single"/>
<output name="variableMetadata" file="faahKO-single-class.xset.merged.group.retcor.group.fillpeaks.fwhm.groupCorr.findIsotopes.findAdducts.variableMetadata.tsv" />
<output name="camera_findAdducts_rdata" file="faahKO-single-class.xset.merged.group.retcor.group.fillpeaks.fwhm.groupCorr.findIsotopes.findAdducts.RData" />
<output name="camera_findAdducts_rdata" value="faahKO-single-class.xset.merged.group.retcor.group.fillpeaks.fwhm.groupCorr.findIsotopes.findAdducts.RData" compare="sim_size" delta="300" />
</test>
</tests>
<help><![CDATA[
Expand Down
4 changes: 2 additions & 2 deletions tools/camera/findIsotopes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<data name="camera_findIsotopes_rdata" format="rdata" label="${image.name[:-6]}.findIsotopes.RData" from_work_dir="camera_findIsotopes.RData" />
</outputs>
<tests>
<test>
<test expect_num_outputs="2">
<param name="image" value="faahKO-single-class.xset.merged.group.retcor.group.fillpeaks.fwhm.groupCorr.RData" />
<!--<param name="maxcharge" value="3" />
<param name="maxiso" value="4" />
Expand All @@ -60,7 +60,7 @@
<param name="filter" value="FALSE" />-->
<expand macro="test_file_load_single"/>
<output name="variableMetadata" file="faahKO-single-class.xset.merged.group.retcor.group.fillpeaks.fwhm.groupCorr.findIsotopes.variableMetadata.tsv" />
<output name="camera_findIsotopes_rdata" file="faahKO-single-class.xset.merged.group.retcor.group.fillpeaks.fwhm.groupCorr.findIsotopes.RData" />
<output name="camera_findIsotopes_rdata" value="faahKO-single-class.xset.merged.group.retcor.group.fillpeaks.fwhm.groupCorr.findIsotopes.RData" compare="sim_size" delta="300" />
</test>
</tests>
<help><![CDATA[
Expand Down
4 changes: 2 additions & 2 deletions tools/camera/groupCorr.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<data name="camera_groupCorr_rdata" format="rdata" label="${image.name[:-6]}.groupCorr.RData" from_work_dir="camera_groupCorr.RData" />
</outputs>
<tests>
<test>
<test expect_num_outputs="2">
<param name="image" value="faahKO-single-class.xset.merged.group.retcor.group.fillpeaks.fwhm.RData" />
<!--<param name="cor_eic_th" value="0.75" />
<param name="pval" value="0.05" />
Expand All @@ -69,7 +69,7 @@
<param name="intval" value="into" />-->
<expand macro="test_file_load_single"/>
<output name="variableMetadata" file="faahKO-single-class.xset.merged.group.retcor.group.fillpeaks.fwhm.groupCorr.variableMetadata.tsv" />
<output name="camera_groupCorr_rdata" file="faahKO-single-class.xset.merged.group.retcor.group.fillpeaks.fwhm.groupCorr.RData" />
<output name="camera_groupCorr_rdata" value="faahKO-single-class.xset.merged.group.retcor.group.fillpeaks.fwhm.groupCorr.RData" compare="sim_size" delta="300" />
</test>
</tests>
<help><![CDATA[
Expand Down
4 changes: 2 additions & 2 deletions tools/camera/groupFWHM.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@
</outputs>

<tests>
<test>
<test expect_num_outputs="2">
<param name="image" value="faahKO-single-class.xset.merged.group.retcor.group.fillpeaks.RData" />
<!--<param name="sigma" value="6" />
<param name="perfwhm" value="0.6" />
<param name="intval" value="into" />-->
<expand macro="test_file_load_single"/>
<output name="variableMetadata" file="faahKO-single-class.xset.merged.group.retcor.group.fillpeaks.fwhm.variableMetadata.tsv" />
<output name="camera_fwhm_rdata" file="faahKO-single-class.xset.merged.group.retcor.group.fillpeaks.fwhm.RData" />
<output name="camera_fwhm_rdata" value="faahKO-single-class.xset.merged.group.retcor.group.fillpeaks.fwhm.RData" compare="sim_size" delta="300" />
</test>
</tests>
<help><![CDATA[
Expand Down

0 comments on commit c9de9b2

Please sign in to comment.