lib/bio/db/gff/gffparser.rb in bio-gff3-0.8.0 vs lib/bio/db/gff/gffparser.rb in bio-gff3-0.8.2
- old
+ new
@@ -105,11 +105,11 @@
sequence = @sequencelist[component.seqname]
# p sequence
if sequence
yield description(id,component,reclist), assemble(sequence,component.start,reclist)
else
- warn "No sequence information for",id
+ error "No sequence information for",id
end
end
end
end
@@ -126,11 +126,11 @@
# raise "CDS size #{seq.size} is not a multiple of 3! <#{seq}>"
warn "CDS size is not a multiple of 3",id
end
yield description(id,component,reclist), seq
else
- warn "No sequence information for",id
+ error "No sequence information for",id
end
end
end
end
@@ -141,10 +141,10 @@
sequence = @sequencelist[component.seqname]
if sequence
seq = assemble(sequence,component.start,reclist)
yield description(id,component,reclist), seq
else
- warn "No sequence information for",id
+ error "No sequence information for",id
end
end
end
end
end