diff tabular_learner.xml @ 2:77c88226bfde draft

planemo upload for repository https://github.com/goeckslab/gleam commit 06c0da44ac93256dfb616a6b40276b5485a71e8e
author goeckslab
date Wed, 02 Jul 2025 18:59:39 +0000
parents 209b663a4f62
children f6a65e05d6ec
line wrap: on
line diff
--- a/tabular_learner.xml	Sat Jun 21 15:06:53 2025 +0000
+++ b/tabular_learner.xml	Wed Jul 02 18:59:39 2025 +0000
@@ -49,7 +49,7 @@
         #if $test_file
             --test_file '$test_file'
         #end if 
-        --model_type '$model_type'    
+        --model_type '$model_type'
         ]]>
     </command>
     <inputs>
@@ -169,7 +169,13 @@
             <param name="remove_outliers" value="true"/>
             <param name="remove_multicollinearity" value="true"/>
             <output name="model" file="expected_model_classification_customized.h5" compare="sim_size"/>
-            <output name="comparison_result" file="expected_comparison_result_classification_customized.html" compare="sim_size" /> 
+            <output name="comparison_result">
+                <assert_contents>
+                    <has_text text="Validation Result Summary" />
+                    <has_text text="Test Results" />
+                    <has_text text="Feature Importance" />
+                </assert_contents>
+            </output>
             <output name="best_model_csv" value="expected_best_model_classification_customized.csv" />
         </test>
         <test>
@@ -178,7 +184,13 @@
             <param name="model_type" value="classification"/>
             <param name="random_seed" value="42"/>
             <output name="model" file="expected_model_classification.h5" compare="sim_size"/>
-            <output name="comparison_result" file="expected_comparison_result_classification.html" compare="sim_size" /> 
+            <output name="comparison_result"> 
+                <assert_contents>
+                    <has_text text="Validation Result Summary" />
+                    <has_text text="Test Results" />
+                    <has_text text="Feature Importance" />
+                </assert_contents>
+            </output>
             <output name="best_model_csv" value="expected_best_model_classification.csv" />
         </test>
         <test>
@@ -187,7 +199,13 @@
             <param name="model_type" value="regression"/>
             <param name="random_seed" value="42"/>
             <output name="model" file="expected_model_regression.h5" compare="sim_size" />
-            <output name="comparison_result" file="expected_comparison_result_regression.html" compare="sim_size" /> 
+            <output name="comparison_result">
+                <assert_contents>
+                    <has_text text="Validation Result Summary" />
+                    <has_text text="Test Results" />
+                    <has_text text="Feature Importance" />
+                </assert_contents>
+            </output>
             <output name="best_model_csv" value="expected_best_model_regression.csv" />
         </test>
     </tests>
@@ -206,4 +224,4 @@
 
     </help>
     <expand macro="macro_citations" />
-</tool>
\ No newline at end of file
+</tool>