git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
phylotastic hackathon at NESCENT 120607
[jalview.git]
/
wiki
/
RubyExamples.wiki
diff --git
a/wiki/RubyExamples.wiki
b/wiki/RubyExamples.wiki
index
ddd88ac
..
7e49fce
100644
(file)
--- a/
wiki/RubyExamples.wiki
+++ b/
wiki/RubyExamples.wiki
@@
-33,7
+33,8
@@
files.each do | file |
pepfiles = ftp.list()
pepfiles.each do | pepfile |
pepfile = pepfile.split().last
pepfiles = ftp.list()
pepfiles.each do | pepfile |
pepfile = pepfile.split().last
- if pepfile =~ /all.fa./
+ if pepfile =~ /all.fa.gz/ # Only want the "all.fa.gz" files (and not the
+ # "abinitio" files).
ftp.getbinaryfile(pepfile)
puts 'downloaded "' + pepfile + '"'
count += 1
ftp.getbinaryfile(pepfile)
puts 'downloaded "' + pepfile + '"'
count += 1