lib/bio/db/embl/format_embl.rb in bio-1.4.3.0001 vs lib/bio/db/embl/format_embl.rb in bio-1.5.0
- old
+ new
@@ -124,12 +124,12 @@
# moleculue type
def mol_type_embl
if mt = molecule_type then
mt
- elsif f = (features or []).find { |f| f.feature == 'source' } and
- q = f.qualifiers.find { |q| q.qualifier == 'mol_type' } then
- q.value
+ elsif fe = (features or []).find { |f| f.feature == 'source' } and
+ qu = fe.qualifiers.find { |q| q.qualifier == 'mol_type' } then
+ qu.value
else
'NA'
end
end