[Bioperl-l] Splitting Bioperl and Test related Suggestions

Chris Fields cjfields at uiuc.edu
Thu Jul 5 14:18:23 UTC 2007


On Jul 5, 2007, at 5:04 AM, Sendu Bala wrote:

> Nathan S. Haigh wrote:
>> Quoting Sendu Bala <bix at sendu.me.uk>:
>>> ...<snip snips>
>>> At that level, files don't need extensions and can have fully
>>> informative names that explain what's interesting or special about
>>> them.
>>>
>>
>> You may be correct in most cases, however, isn't there a method for
>> detecting the file format from the file extension and failing that it
>> peeks inside the file? Therefore there should be a file extension for
>> each of these to get good code coverage as well as each format not
>> having an extension to check that the peek inside the file correctly
>> determines the format.
>
> Yes, you're quite correct.

I actually like Sendu's idea more, or the idea of each test suite  
having it's own directory.

Tests which need to guess/validate the format are probably best left  
sequestered to a specific suite focused on format guessing/ 
validation, at least in my opinion.

chris



More information about the Bioperl-l mailing list