miga-base 1.3.6.2 → 1.3.7.0

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: 31fc3458b62146b7023d8e7693bc47cf27befb6fbaf55c67db9132769ee26e14
4
- data.tar.gz: 48fbd1a5fefd22d02be11dbb49f2ecb88d0f482f9049f190960314e538ee731c
3
+ metadata.gz: b5e0216cf49c600ae5776ea4e45bfcc2441ffed928908b20bbfc32541b08351a
4
+ data.tar.gz: a826116aa5208524e029bd2c6324a89d1805653dd20659a9738e627439192ad1
5
5
  SHA512:
6
- metadata.gz: ad214259efa48d434c5a6cbbf1cf2031f33172672a5803b734adaed5d5575503c3dcb3277e324e540b6ad3a36127218785cd540079d0b3c6d5fb87bd9206bd35
7
- data.tar.gz: 96b955f290c7cebebb2d9ec0379b4111c274eeb4d9233b1af997718a1c3e482d30c86d98f2bc62ae25aae2b961087fdc74359fc879a61bd59b7fecbbcb0110fa
6
+ metadata.gz: 8da516f7f72b162e643202d1e84e57646f36afe895f7e57695bb281a937e6a80ee8cdbd333fe83e24f2708d2306e10d9d216adc86c510e07bf2dcdf3a02372d6
7
+ data.tar.gz: 3cbc31c7152861e678858420e213c35f4283c668586d0770a1d933e6d788589f006de645b9de292bbc991511c72a375bc97881981aa40c412271063b9434c83b
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, 6, 2].freeze
15
+ VERSION = [1.3, 7, 0].freeze
16
16
 
17
17
  ##
18
18
  # Nickname for the current major.minor version.
@@ -20,7 +20,7 @@ module MiGA
20
20
 
21
21
  ##
22
22
  # Date of the current gem relese.
23
- VERSION_DATE = Date.new(2023, 5, 18)
23
+ VERSION_DATE = Date.new(2023, 6, 4)
24
24
 
25
25
  ##
26
26
  # References of MiGA
@@ -224,7 +224,10 @@ module MiGA::DistanceRunner::Commands
224
224
  else
225
225
  out[6] = out[6].to_f
226
226
  end
227
- aai_data[out[1]] = [out[6], 0, 0, 0]
227
+
228
+ # AAI-hat can result in 0.0 values (e.g., "<30%") when low-quality
229
+ # genome comparisons produce unrealistically small estimates.
230
+ aai_data[out[1]] = [out[6], 0, 0, 0] unless out[6].zero?
228
231
  end
229
232
  end
230
233
  $stderr.puts "Results: #{haai_data.size} | Inferences: #{aai_data.size}"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: miga-base
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.6.2
4
+ version: 1.3.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luis M. Rodriguez-R
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-18 00:00:00.000000000 Z
11
+ date: 2023-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: daemons