Mercurial > repos > fubar > toolfactory
comparison rgToolFactory.py @ 21:abeec897b2d7 draft
Uploaded
author | fubar |
---|---|
date | Sun, 23 Mar 2014 08:11:54 -0400 |
parents | 812871c1eaec |
children | 2983106e1460 |
comparison
equal
deleted
inserted
replaced
20:812871c1eaec | 21:abeec897b2d7 |
---|---|
321 xdict['help'] = ''.join([x.lstrip(x) for x in xdict['help']]) | 321 xdict['help'] = ''.join([x.lstrip(x) for x in xdict['help']]) |
322 else: | 322 else: |
323 xdict['help'] = 'Please ask the tool author for help as none was supplied at tool generation\n' | 323 xdict['help'] = 'Please ask the tool author for help as none was supplied at tool generation\n' |
324 coda = ['**Script**','Pressing execute will run the following code over your input file and generate some outputs in your history::'] | 324 coda = ['**Script**','Pressing execute will run the following code over your input file and generate some outputs in your history::'] |
325 coda.append(self.indentedScript) | 325 coda.append(self.indentedScript) |
326 coda.append('**Attribution** This Galaxy tool was created by %s at %s\nusing the Galaxy Tool Factory.' % (self.opts.user_email,timenow())) | 326 coda.append('\n**Attribution**\nThis Galaxy tool was created by %s at %s\nusing the Galaxy Tool Factory.\n' % (self.opts.user_email,timenow())) |
327 coda.append('See %s for details of that project' % (toolFactoryURL)) | 327 coda.append('See %s for details of that project' % (toolFactoryURL)) |
328 coda.append('Please cite: Creating re-usable tools from scripts: The Galaxy Tool Factory. Ross Lazarus; Antony Kaspi; Mark Ziemann; The Galaxy Team. ') | 328 coda.append('Please cite: Creating re-usable tools from scripts: The Galaxy Tool Factory. Ross Lazarus; Antony Kaspi; Mark Ziemann; The Galaxy Team. ') |
329 coda.append('Bioinformatics 2012; doi: 10.1093/bioinformatics/bts573') | 329 coda.append('Bioinformatics 2012; doi: 10.1093/bioinformatics/bts573\n') |
330 xdict['help'] = '%s\n%s' % (xdict['help'],'\n'.join(coda)) | 330 xdict['help'] = '%s\n%s' % (xdict['help'],'\n'.join(coda)) |
331 if self.opts.tool_desc: | 331 if self.opts.tool_desc: |
332 xdict['tooldesc'] = '<description>%s</description>' % self.opts.tool_desc | 332 xdict['tooldesc'] = '<description>%s</description>' % self.opts.tool_desc |
333 else: | 333 else: |
334 xdict['tooldesc'] = '' | 334 xdict['tooldesc'] = '' |