diff napq.xml @ 19:d31c6978d9d0

fixes for NapQ
author pieter.lukasse@wur.nl
date Mon, 26 Jan 2015 06:24:15 +0100
parents 40ec8770780d
children 46f568202d46
line wrap: on
line diff
--- a/napq.xml	Fri Aug 01 17:22:37 2014 +0200
+++ b/napq.xml	Mon Jan 26 06:24:15 2015 +0100
@@ -27,8 +27,25 @@
 		<param name="namingConventionCodesForSamples" type="text" size="100" value="" 
 		label="Part of run/file name that identifies the sample" 
 		help="Add the CSV list of codes that occur in the file names 
-			and that stand for a sample code. E.g. '_S1,_S2,_S3,etc.' "/> <!-- could do regular expressions as well but this would be hard for biologists, e.g. _F\d\b -->
-
+			and that stand for a sample code. E.g. '_S1,_S2,_S3,etc.' "> <!-- could do regular expressions as well but this would be hard for biologists, e.g. _F\d\b -->
+			<sanitizer>
+				<!-- adding more characters to the set of "valid" ones: -->
+				<valid>
+					<add preset="string.printable"/>
+					<add value="#"/>
+					<add value="@"/>
+					<add value="$"/>
+					<add value="%"/>
+					<add value="&"/>
+					<add value="*"/>
+					<add value="["/>
+					<add value="]"/>
+					<add value="|"/>
+					<add value="{"/>
+					<add value="}"/>
+				</valid>
+			</sanitizer>
+		</param>
    		
    		<conditional name="is2D_LC_MS">
      		<param name="fractions" type="boolean" truevalue="Yes" falsevalue="No" checked="false" 
@@ -39,7 +56,26 @@
      			label="Part of run/file name that identifies the 2D LC-MS fraction" 
      			help="Add the CSV list of codes that occur in the file names 
      				and that stand for a fraction code. E.g. '_F1,_F2,_F3,etc.' Use this to avoid
-     				that each (fraction) file is seen as a separate run."/> <!-- could do regular expressions as well but this would be hard for biologists, e.g. _F\d\b -->
+     				that each (fraction) file is seen as a separate run."> <!-- could do regular expressions as well but this would be hard for biologists, e.g. _F\d\b -->
+     					<sanitizer>
+							<!-- adding more characters to the set of "valid" ones: -->
+							<valid>
+								<add preset="string.printable"/>
+								<add value="#"/>
+								<add value="@"/>
+								<add value="$"/>
+								<add value="%"/>
+								<add value="&"/>
+								<add value="*"/>
+								<add value="["/>
+								<add value="]"/>
+								<add value="|"/>
+								<add value="{"/>
+								<add value="}"/>
+							</valid>
+						</sanitizer>
+					</param>
+     		
      		</when>
      		<when value="No">
      		</when>