Commit Graph
12 Commits
Author SHA1 Message Date
Jeremy Goecks 9a5679c37c Use mako template in tool help so that dynamic image paths can be used. Fixes #141 2012-08-07 09:40:51 -04:00
Kanwei Li 2d0b8eb830 Adjust image links in tools to work with a proxy prefix [Brad Chapman]. Fixes #141 2010-12-14 14:22:13 -05:00
Greg Von Kuster eca5a69f9f Update the output test dataset for the XY_Plot_1 tool due to a new version of R, and update the tool version so the functional test will pass. 2009-12-10 09:18:49 -05:00
Daniel Blankenberg f92b25d2f5 Enhance tool parameter sanitization. Sanitization rules can now be defined on a per input parameter basis. Resolves ticket #38 and #142.
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.
2009-12-07 10:19:41 -05:00
Greg Von Kuster 5331dee076 Add functioal test baseline support for the repeat construct, more work needed ( e.g., multiple repeat elements, refresh_on_change when the input to be refreshed is within a repeat construct ). Added functional tests for some tools that use this construct. 2008-11-10 14:22:01 -05:00
Greg Von Kuster 135c9a0377 Removed the remainder of the tool version subdirectories. 2008-03-03 18:38:57 +00:00
Greg Von Kuster 218684f610 Added tool version directories for plotting tools directory. 2008-02-22 19:41:52 +00:00
Greg Von Kuster fb569d3c43 More ColumnListParameter cleanup. Eliminated dynamic options from some tools by using ColumnListParameter. 2007-10-18 17:29:47 +00:00
James Taylor 13608b5a8b Cleaning up ColumnListParameter and related things.
- Dependencies between parameters and refresh_on_change are now more general.
   Any parameter can assert a dependency on any other parameter by name, and
   if a parameter has dependencies it will cause a refresh.

 - Use "other_values" to get at the value of the associated dataset rather
   than trying to look at the tool. This means that column lists now work
   inside grouping constructs.

 - Eliminated tool.updated_params and use of self.legal_values. These
   variables are GLOBAL. Everybody using a tool has a reference to the same
   instance of tool. Thus, if two people are using the same tool at once this
   can cause serious problems.
2007-10-08 19:33:23 +00:00
Anton Nekrutenko e130de1a26 More interface changes and updates to tool_conf.xml.main and tool_conf.xml.sample 2007-07-17 15:17:11 +00:00
Guruprasad Anada b16e569c0f Updating help for extract_GFF_features, get_flanks, xy_plot and Build_ucsc_custom_track tools. 2007-07-16 15:27:26 +00:00
James Taylor 7bfc238304 Many changes related to tool interfaces and jobs (DATABASE CHANGE, READ)
#) An "xy_plot" tool and a new "build_ucsc_custom_track" tool that
   demonstrate the various features added here.

#) Grouping constructs for tool parameters:
   - "repeat" element allows for a set of parameters to be repeated an
     arbitrary number of times
   - "conditional" element allows choosing a set of parameters to display
     based on the value of another parameter
   These constructs can be arbitrarily nested. Their values are structured
   and can be used in hooks, validation, et cetera

#) Support for generating arbitrary config files to pass to a tool

#) Command lines are now full Cheetah templates

#) Better job error reporting, includes tracebacks for internal errors
   preparing the job (database change required, see below!)

#) Preparation of command line, config files, exec_before_job hook moved
   into job execution stage

#) Parameter values now jsonified before storing in database (this is much
   more rigorous that before, and restoring from the database now works
   properly)

DATABASE CHANGE:

alter table job add column traceback text;
2007-05-19 16:40:55 +00:00