lib/bio/db/medline.rb in bio-1.4.1 vs lib/bio/db/medline.rb in bio-1.4.2
- old
+ new
@@ -56,9 +56,10 @@
hash['year'] = year
hash['pubmed'] = pmid
hash['medline'] = ui
hash['abstract'] = abstract
hash['mesh'] = mesh
+ hash['doi'] = doi
hash['affiliations'] = affiliations
hash.delete_if { |k, v| v.nil? or v.empty? }
return Reference.new(hash)