Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MarenStillger committed Jun 27, 2024
1 parent 4c10440 commit 4fb6609
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 10,402 deletions.
6 changes: 5 additions & 1 deletion tools/cardinal/data_exporter.xml
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,11 @@ if (class(msidata) == "MSImageSet"){
<param name="feature_header" value="False"/>
<param name="plusminus_ppm" value="200"/>
</conditional>
<output name="feature_output" file="features_out4.tabular"/>
<output name="feature_output">
<assert_content>
<has_text text="100.120072029209"/>
</assert_content>
</output>
<output name="pixel_output" file="pixel_out4.tabular"/>
</test>
</tests>
Expand Down
6 changes: 5 additions & 1 deletion tools/cardinal/quality_report.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1092,7 +1092,11 @@ if (npeaks > 0){
<param name="plusminus_ppm" value="100"/>
<param name="filename" value="Testfile_rdata"/>
<!--param name="do_pca" value="True"/-->
<output name="QC_report" file="QC_rdata.pdf" compare="sim_size"/>
<output name="QC_report" ftype="pdf">
<assert_contents>
<has_size value="1276311" delta="100"/>
</assert_contents>
</output>
</test>
<test>
<param name="infile" value="empty_spectra.rdata" ftype="rdata"/>
Expand Down
6 changes: 5 additions & 1 deletion tools/cardinal/segmentation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,11 @@ if (npeaks > 0 && NAcount==0)
<repeat name="colours">
<param name="feature_color" value="#B0171F"/>
</repeat>
<output name="segmentationimages" file="centroids_proc.pdf" compare="sim_size"/>
<output name="segmentationimages" ftype="pdf">
<assert_contents>
<has_size value="1206464" delta="100"/>
</assert_contents>
</output>
<output name="pixeloutput" file="classes_proc.tabular"/>
<output name="mzfeatures">
<assert_contents>
Expand Down
Binary file removed tools/cardinal/test-data/QC_rdata.pdf
Binary file not shown.
Binary file removed tools/cardinal/test-data/centroids_proc.pdf
Binary file not shown.
Loading

0 comments on commit 4fb6609

Please sign in to comment.