Sanitization now occurs as part of the InputValueWrapper logic. Previously sanitization occurred as soon as parameter values were provided by the user via form submits, causing the sanitized values to be stored in the database. Now the original user specified values are stored in the database and sanitation happens when str is called on the InputValueWrapper, i.e. during command-line generation and when generating configfiles.
Abstract out param name and value translations that are performed on data source tools. This changes some of the names of the tags used for these purposes (e.g. data_type_translation becomes value_translation) to reflect this generalization. The ToolConfigSyntax wiki page has been updated with these changes.
Future Enhancement:
Allow methods with arguments and keywords to be specified for sanitation and translation purposes.
greater than config.output_size_limit, no data will be retrieved and an error message will be provided to the user.
Tools using this script have been updated to provide the max file size on the command line.
Resolves ticket #93.
Fixed a bug in the unit test for new gff version 3 format in sniff.py.
Tweaked the biomart tool so that it will not display problm Info: text in history.
This commit includes some stuff for future GBrowse integration, but nothing included should pose any problems with the current environment.
Database changes required:
alter table history add genome_build varchar(40);
There is now a new tool ToolParameter named GenomeBuildParameter which should be useful in several existing tools.
Also took care of some other miscellaneous items.