Mercurial > repos > jjohnson > find_in_reference
comparison find_in_reference.xml @ 3:fe044d480b3a default tip
Validate and sanitize separator parameters for annotation fields
author | Jim Johnson <jj@umn.edu> |
---|---|
date | Thu, 23 Jan 2014 16:30:21 -0600 |
parents | 30975b3ff0dc |
children |
comparison
equal
deleted
inserted
replaced
2:30975b3ff0dc | 3:fe044d480b3a |
---|---|
54 </param> | 54 </param> |
55 <when value="no"/> | 55 <when value="no"/> |
56 <when value="yes"> | 56 <when value="yes"> |
57 <param name="annotation_columns" type="data_column" data_ref="reference" multiple="true" label="columns from reference to append to found input lines" | 57 <param name="annotation_columns" type="data_column" data_ref="reference" multiple="true" label="columns from reference to append to found input lines" |
58 help=""/> | 58 help=""/> |
59 <param name="annotation_separator" type="text" value="" optional="true" label="separator to place between annotations from different reference lines" | 59 <param name="annotation_separator" type="text" value=";" optional="true" label="separator to place between annotations from different reference lines" |
60 help="defaults to ;"/> | 60 help="defaults to ;"> |
61 <param name="annotation_col_sep" type="text" value="" optional="true" label="separator to place between annotation columns from the same reference line" | 61 <validator type="regex" message="Single quote character is not allowed">^[^']*$</validator> |
62 help="defaults to ,"/> | 62 <sanitizer> |
63 <valid initial="string.printable"> | |
64 <remove value="'"/> | |
65 </valid> | |
66 <mapping initial="none"> | |
67 <add source="'" target=""/> | |
68 </mapping> | |
69 </sanitizer> | |
70 </param> | |
71 <param name="annotation_col_sep" type="text" value="," optional="true" label="separator to place between annotation columns from the same reference line" | |
72 help="defaults to ,"> | |
73 <validator type="regex" message="Single quote character is not allowed">^[^']*$</validator> | |
74 <sanitizer> | |
75 <valid initial="string.printable"> | |
76 <remove value="'"/> | |
77 </valid> | |
78 <mapping initial="none"> | |
79 <add source="'" target=""/> | |
80 </mapping> | |
81 </sanitizer> | |
82 </param> | |
63 </when> | 83 </when> |
64 </conditional> | 84 </conditional> |
65 </inputs> | 85 </inputs> |
66 <stdio> | 86 <stdio> |
67 <exit_code range="1:" level="fatal" description="Error" /> | 87 <exit_code range="1:" level="fatal" description="Error" /> |