<ttd>
	<tool status="external">
		<category>does not really matter</category>
		// multiple of these are allowed
		<type>RAWDirConvert</type>
		#name# -- for internal only
		// multiple of these allowed (same # as 'types') - for external only
		<external>
      <text>
        <onstartup>Calling PWiz' msconvert for directory-based raw files ...</onstartup>
        <onfail>Something went wrong. Is 'msconvert' in your PATH?</onfail>
        <onfinish>Tool finished successfully.</onfinish>
      </text>    
		  <e_category>FileConversion</e_category>
		  <cloptions>-o "%1" --mzML "%2"</cloptions>
		  <path>msconvert</path>
		  <mappings>
			<mapping id="1" cl="%TMP" />
			<mapping id="2" cl="%DIR[%%in]" />
			<file_post location="%TMP/%BASENAME[%DIR[%%in]].mzML" target="out" />
		  </mappings>
		  <ini_param>
			<ITEM name="in" value="" type="string" description="Exemplary file in raw folder (e.g., headers.txt in Waters raw folders)" tags="input file" />
			<ITEM name="out" value="" type="string" description="output file in mzML format(valid formats: &apos;mzML&apos;)" tags="output file" />
		  </ini_param>
		</external>
	</tool>
</ttd>
