[Bioperl-l] Bio::Root::IO reads URLs from -file
Allen Day
allenday at ucla.edu
Sun Aug 8 03:28:08 EDT 2004
just commited this to cvs. if you pass a -file arg to a Root::IO
subclass, the following happens:
if(the file exists){
do as before
}
elsif(the file doesn't exist, and the name looks like a url) {
try a few times to {
download the url to a local tempfile, and update -file to point
to the tempfile
}
if(couldn't download the file){
throw an error
}
}
i'm open to moving urls to a special -url argument instead of overloading
-file. what do people think?
-allen
More information about the Bioperl-l
mailing list