miga-base 1.3.20.0 → 1.3.20.1

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: c63c60b5324c31420fa616747435b2e33e6fc7d0855cab55381f139789ccedc1
4
- data.tar.gz: 5cbbd4de1f66b452ea72e4dface8617606aec919af08aaddea1a0f05e745873a
3
+ metadata.gz: c6c4afd4c7ece4cbb7c188d59b1743b149e1b721a44f12dfa90e47d960716266
4
+ data.tar.gz: cb37cb26f5ced17d58172ca00f90860a984071c628878f4e65ecf019347cda7d
5
5
  SHA512:
6
- metadata.gz: 57c3abcf3030051fb6d9839b58f0f9bfecd75aff18d8deb1f0b9d7d5244d6103b9764de844409d5dbec2ffffcffadaeff0b4a804419d21e8a74e09caf5ee7f73
7
- data.tar.gz: bef9383f052d1331b0154b61d7c9e8dba07194775e5d05aea110771c26597fd6549ed4884d9a4c92c8484952c8f26d33f924281f56957e01d3110cb81c3d2d98
6
+ metadata.gz: de3a104391e4742b5fa26ed4e96c35ca64780d244c591895a9465089825e11d5521d301467daf520fb06acbe837afc0fc0f75da26fdbc19fdff78cfb31085d53
7
+ data.tar.gz: 746203077d5ec8a48b85129324b954cfa587a89a3f9eee4c0dc23075925ad3ecf2649b251979ac0e03ef8fc4f18f68f03afc4a72df034f18b134d3ffda1f0075
@@ -37,6 +37,7 @@ class MiGA::Cli::Action::Relatives < MiGA::Cli::Action
37
37
  cr = []
38
38
  cli.load_and_filter_datasets.each do |d|
39
39
  d_cr = d.closest_relatives(cli[:how_many], cli[:external], cli[:metric])
40
+ d_cr ||= []
40
41
  cr += d_cr.map { |i| [d.name] + i }
41
42
  end
42
43
  io = cli[:output].nil? ? $stdout : File.open(cli[:output], 'w')
data/lib/miga/cli/base.rb CHANGED
@@ -32,6 +32,7 @@ module MiGA::Cli::Base
32
32
  run: 'Execute locally one step analysis producing the given result',
33
33
  summary: 'Generate a summary table for the statistics of all datasets',
34
34
  next_step: 'Return the next task to run in a dataset or project',
35
+ relatives: 'List of closest relatives per dataset',
35
36
  # Objects (Datasets or Projects)
36
37
  edit: 'Edit the metadata of a dataset or project',
37
38
  option: 'Get or set options of a dataset or project',
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, 20, 0].freeze
15
+ VERSION = [1.3, 20, 1].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(2024, 7, 23)
23
+ VERSION_DATE = Date.new(2024, 7, 25)
24
24
 
25
25
  ##
26
26
  # References of MiGA
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.20.0
4
+ version: 1.3.20.1
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: 2024-07-23 00:00:00.000000000 Z
11
+ date: 2024-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: daemons