share/install/Organism/organism_helpers.rb in rbbt-sources-2.1.0 vs share/install/Organism/organism_helpers.rb in rbbt-sources-2.1.1
- old
+ new
@@ -459,9 +459,12 @@
rule /^chromosome_.*/ do |t|
chr = t.name.match(/chromosome_(.*)/)[1]
+ # HACK: Skip LRG chromosomes
+ raise "LRG chromosomes not supported: #{ chr }" if chr =~ /^LRG_/
+
archive = File.basename(FileUtils.pwd) =~ /^([a-z]{3}[0-9]{4})$/i ? $1 : nil
release = Ensembl.releases[archive]
ftp = Net::FTP.new("ftp.ensembl.org")