miga-base 1.3.12.1 → 1.3.12.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 728f619f35f3e43fbd400b82372165e92b9126076d97e8a38883cf85f210be36
4
- data.tar.gz: 94c49190af3cfb2325352ce2bbe8f8c4218c0beba4631cadeb2bbbf833af097f
3
+ metadata.gz: cf660d951441269a671b7fb57d3e91a572fdb62d5ffbaeda9ff412042798759b
4
+ data.tar.gz: 1721194dcce4a70e4cad66ca4cea5db88f521323022b62c2c93740458a1b0bea
5
5
  SHA512:
6
- metadata.gz: eef58d0024f7a17818f3b4802325817ca1c4f33398f38d9a444645b89526aa68e3a0b70b7b4ba23c4789b5c9367005ca7f2d27f69b42b6c8b5e87c0e2187f897
7
- data.tar.gz: be8aa042bb9733da10d559fbc6b0210c4904c94aa66c1bd5de6ea84e2c5f0d9ede5ca77f64cf9e90671c54cc1e85ffdb895b2f77df237ef686302b3121b546f1
6
+ metadata.gz: ff0b9c3a8db37fa9b0d75a0b884154b416669e068eab9f22f406facf9822345a38baccc224138a15fb5e9e1dff786e55e2ebc0d870573b892f056bf7e18e275a
7
+ data.tar.gz: af7dcea647e3ead8fdbde6f917264efd93335cc9c7878bd7a4b43b8dbb27434882dff76728fa984c5724802a581421ddd333f6cfe46ab1d6c75fb4bb953bc378
@@ -67,6 +67,7 @@ class MiGA::RemoteDataset < MiGA::MiGA
67
67
  # Get the MiGA::Taxonomy object for the lineage of the taxon with TaxID
68
68
  # +id+ using the local NCBI Taxonomy dump.
69
69
  def taxonomy_from_ncbi_dump(id)
70
+ id = id.to_i unless id.is_a? Integer
70
71
  MiGA::Taxonomy.new(ns: 'ncbi').tap do |tax|
71
72
  while @ncbi_taxonomy_names[id]
72
73
  tax << { @ncbi_taxonomy_names[id][1] => @ncbi_taxonomy_names[id][0] }
data/lib/miga/version.rb CHANGED
@@ -12,7 +12,7 @@ module MiGA
12
12
  # - String indicating release status:
13
13
  # - rc* release candidate, not released as gem
14
14
  # - [0-9]+ stable release, released as gem
15
- VERSION = [1.3, 12, 1].freeze
15
+ VERSION = [1.3, 12, 2].freeze
16
16
 
17
17
  ##
18
18
  # Nickname for the current major.minor version.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: miga-base
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.12.1
4
+ version: 1.3.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luis M. Rodriguez-R