rbbt-sent 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/sent/main.rb +2 -2
  2. metadata +3 -3
@@ -197,7 +197,7 @@ module Sent
197
197
  40, # Stop criteria
198
198
  0, # Not used (nsnmf smoothness)
199
199
  false, # extra info
200
- '') # Suggested name
200
+ nmf_matrix) # Suggested name
201
201
 
202
202
  while !driver.done(job_id)
203
203
  sleep(5)
@@ -339,7 +339,7 @@ module Sent
339
339
  index.field_infos.add_field(:abstract, :index => :yes, :boost => 0.33)
340
340
 
341
341
  Progress.monitor("Building index for #{pmids.length} articles")
342
- pmids.each{|pmid|
342
+ pmids.uniq.each{|pmid|
343
343
  begin
344
344
  article = PubMed.get_article(pmid)
345
345
  abstract = article.abstract
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 1
9
- version: 1.0.1
8
+ - 2
9
+ version: 1.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Miguel Vazquez
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-05-21 00:00:00 +02:00
17
+ date: 2010-06-08 00:00:00 +02:00
18
18
  default_executable: sent_config
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency