lib/bio/db/gff/digest/gffnocache.rb in bio-gff3-0.8.7 vs lib/bio/db/gff/digest/gffnocache.rb in bio-gff3-0.9.0
- old
+ new
@@ -61,10 +61,11 @@
# List of ids
class SeekLinkedRecs < Hash
include Helpers::Logger
def add id, rec
- info "Adding #{rec.feature_type} <#{id}>"
+ info "Adding #{rec.feature_type} (nocache)",id
+ raise "ID should not be empty" if id == nil or id == ""
self[id] = [] if self[id] == nil
self[id] << rec.io_seek
end
# validation is switched off for NoCache
def validate_seqname