Re: [galaxy-dev] Tool unit tests using composite datatypes

2013-11-18 Thread Peter Cock
On Mon, Nov 18, 2013 at 4:02 PM, John Chilton wrote: > On Mon, Nov 18, 2013 at 9:55 AM, Peter Cock wrote: >> On Mon, Nov 18, 2013 at 12:35 PM, Peter Cock >> wrote: >>> On Sun, Nov 17, 2013 at 8:30 AM, John Chilton wrote: With these change, I was able to write working functional tests for >

Re: [galaxy-dev] Tool unit tests using composite datatypes

2013-11-18 Thread John Chilton
On Mon, Nov 18, 2013 at 9:55 AM, Peter Cock wrote: > On Mon, Nov 18, 2013 at 12:35 PM, Peter Cock > wrote: >> On Sun, Nov 17, 2013 at 8:30 AM, John Chilton wrote: >>> With these change, I was able to write working functional tests for >>> your tool using the template you outlined in the Trello c

Re: [galaxy-dev] Tool unit tests using composite datatypes

2013-11-18 Thread Peter Cock
On Mon, Nov 18, 2013 at 12:35 PM, Peter Cock wrote: > On Sun, Nov 17, 2013 at 8:30 AM, John Chilton wrote: >> With these change, I was able to write working functional tests for >> your tool using the template you outlined in the Trello card. ... >> I discovered no problems with auto_primary versu

Re: [galaxy-dev] Tool unit tests using composite datatypes

2013-11-18 Thread Peter Cock
On Sun, Nov 17, 2013 at 8:30 AM, John Chilton wrote: > On Thu, Apr 25, 2013 at 9:36 AM, Peter Cock wrote: >> ... >> >> As noted in my last email, for some reason when running the test case, >> the input FASTA file is being included on the command line TWICE. >> Curiously the -hash_index argument ha

Re: [galaxy-dev] Tool unit tests using composite datatypes

2013-11-17 Thread John Chilton
On Thu, Apr 25, 2013 at 9:36 AM, Peter Cock wrote: > On Fri, Apr 5, 2013 at 3:08 PM, Peter Cock wrote: >> On Thu, Apr 4, 2013 at 7:19 PM, Daniel Blankenberg wrote: >>> Hi Peter, >>> >>> What is the test error given when you do have a value defined for name in >>> output? >>> >>> >>> Can you try

Re: [galaxy-dev] Tool unit tests using composite datatypes

2013-07-10 Thread Peter Cock
On Tue, Apr 30, 2013 at 4:30 PM, Peter Cock wrote: > On Thu, Apr 25, 2013 at 3:36 PM, Peter Cock wrote: >> >> OK, I've updated to the latest galaxy-central default branch. Here's >> the slightly revised test for ncbi_makeblastdb.xml, >> >> ... > > In the absence of any fresh feedback, I've filed

Re: [galaxy-dev] Tool unit tests using composite datatypes

2013-04-30 Thread Peter Cock
On Thu, Apr 25, 2013 at 3:36 PM, Peter Cock wrote: > > OK, I've updated to the latest galaxy-central default branch. Here's > the slightly revised test for ncbi_makeblastdb.xml, > > ... In the absence of any fresh feedback, I've filed an issue on Trello for this to make sure it gets tracked: htt

Re: [galaxy-dev] Tool unit tests using composite datatypes

2013-04-25 Thread Peter Cock
On Fri, Apr 5, 2013 at 3:08 PM, Peter Cock wrote: > On Thu, Apr 4, 2013 at 7:19 PM, Daniel Blankenberg wrote: >> Hi Peter, >> >> What is the test error given when you do have a value defined for name in >> output? >> >> >> Can you try using 'empty_file.dat'? >> >> e.g. >> >> >> >> or >>

Re: [galaxy-dev] Tool unit tests using composite datatypes

2013-04-05 Thread Peter Cock
On Thu, Apr 4, 2013 at 7:19 PM, Daniel Blankenberg wrote: > Hi Peter, > > What is the test error given when you do have a value defined for name in > output? > > > Can you try using 'empty_file.dat'? > > e.g. > > > > or > > > > etc Hi Daniel, That seems to help (plus fixing a t

Re: [galaxy-dev] Tool unit tests using composite datatypes

2013-04-04 Thread Daniel Blankenberg
Hi Peter, What is the test error given when you do have a value defined for name in output? Can you try using 'empty_file.dat'? e.g. or etc Thanks for using Galaxy, Dan On Apr 4, 2013, at 1:34 PM, Peter Cock wrote: > On Wed, Apr 3, 2013 at 2:48 PM, Peter Cock wro

Re: [galaxy-dev] Tool unit tests using composite datatypes

2013-04-04 Thread Peter Cock
On Wed, Apr 3, 2013 at 2:48 PM, Peter Cock wrote: > On Wed, Apr 3, 2013 at 2:37 PM, Dave Bouvier wrote: >> For the outputs, rgClean.xml provides an example of comparing a >> composite output dataset with the expected test data. > > Here there is a tag used within the tag. > > Many thanks Dave -

Re: [galaxy-dev] Tool unit tests using composite datatypes

2013-04-03 Thread Peter Cock
On Wed, Apr 3, 2013 at 2:37 PM, Dave Bouvier wrote: > Peter, > > Yes, it is definitely possible to use a composite datatype in functional > tests, and a number of tools in the Galaxy distribution do so. Hooray - I was hoping this functionality already existed but was just undocumented. > For exa

Re: [galaxy-dev] Tool unit tests using composite datatypes

2013-04-03 Thread Dave Bouvier
Peter, Yes, it is definitely possible to use a composite datatype in functional tests, and a number of tools in the Galaxy distribution do so. For examples on how to define composite inputs, you can look at the tools in tools/rgenetics/, such as rgGLM.xml or rgHaploView.xml. For the outputs,