diff qiime2/qiime_sample-classifier_fit-classifier.xml @ 5:a025a4a89e07 draft

Uploaded
author florianbegusch
date Mon, 05 Aug 2019 01:29:30 -0400
parents 370e0b6e9826
children de4c22a52df4
line wrap: on
line diff
--- a/qiime2/qiime_sample-classifier_fit-classifier.xml	Wed Jul 31 03:06:00 2019 -0400
+++ b/qiime2/qiime_sample-classifier_fit-classifier.xml	Mon Aug 05 01:29:30 2019 -0400
@@ -10,7 +10,7 @@
 --i-table=$itable
 --m-metadata-column="$mmetadatacolumn"
 
-#if $pstep:
+#if str($pstep):
  --p-step=$pstep
 #end if
 
@@ -50,18 +50,13 @@
 #end if
 
 
-#if $input_files_mmetadatafile:
-#def list_dict_to_string(list_dict):
-	#set $file_list = list_dict[0]['additional_input'].__getattr__('file_name')
-	#for d in list_dict[1:]:
-		#set $file_list = $file_list + ' --m-metadata-file=' + d['additional_input'].__getattr__('file_name')
-	#end for
-	#return $file_list
-#end def
- --m-metadata-file=$list_dict_to_string($input_files_mmetadatafile)
+
+#if $metadatafile:
+ --m-metadata-file=$metadatafile
 #end if
 
 
+
 --o-sample-estimator=osampleestimator
 --o-feature-importance=ofeatureimportance
 ;
@@ -93,9 +88,7 @@
 			<option value="ignore">ignore</option>
 		</param>
 
-		<repeat name="input_files_mmetadatafile" optional="True" title="--m-metadata-file">
-			<param label="--m-metadata-file: Metadata file or artifact viewable as metadata. This option may be supplied multiple times to merge metadata. [optional]" name="additional_input" type="data" format="tabular,qza,no_unzip.zip" />
-		</repeat>
+		<param label="--m-metadata-file METADATA" name="metadatafile" type="data" format="tabular,qza,no_unzip.zip" />
 
 	</inputs>
 	<outputs>