miga-base 1.3.2.0 → 1.3.3.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa65b4beabfda49a2923c4e7e2cdfe9a8c247c014a2245e5dbdeaa242ff51fa3
4
- data.tar.gz: f29bb637d704a198aaa84760ce1f6b61902b2962f696f43c91c778b5ae87ff67
3
+ metadata.gz: bbde5de18171f236e86625c6220a26243a66540fd27194c29541be12c1d89682
4
+ data.tar.gz: 99a9d4aabfb239cc456e1d118809e5f843c0908f1a395457d8f97af82732d621
5
5
  SHA512:
6
- metadata.gz: 53170a680037ad5739d10cf3359df7b1b4e3fb2c2d648065125caa2625116c37575a4e1258bde694529dbc0fedb677776944a18f1fcbf4a42f6c672db7cd3e0a
7
- data.tar.gz: f689dee7de7007686a80e81e7ccdd8f25f270be8172c9b7b627f64bd2788bc926dbc8a00645a0c6f913c8dba40989f33084bab3410efef140a80480c2c020c66
6
+ metadata.gz: 6efbbc1082e92dee7611a7b42d573012a652a84343cb0778081bc2c2ed5aeb81089d2fadecbe3dd8f88538187a6d57fb57ad6b7ee0822c0e2b986ad261768b1c
7
+ data.tar.gz: d524db7505c561128605a3773a384482383addee341d5769acd053f88721e4160ebc1c5f25fcf4ab55d435a42ef9a29c78bcefb419b8e09d81b4765b95dfa0c8
@@ -10,7 +10,7 @@ class MiGA::Cli::Action::ClassifyWf < MiGA::Cli::Action
10
10
  def parse_cli
11
11
  default_opts_for_wf
12
12
  cli.defaults = {
13
- download: false, summaries: true, pvalue: 0.05,
13
+ download: false, summaries: true, pvalue: 0.1,
14
14
  local: File.expand_path('.miga_db', ENV['MIGA_HOME'])
15
15
  }
16
16
  cli.parse do |opt|
@@ -126,7 +126,7 @@ module MiGA::Project::Base
126
126
  desc: 'Directory containing database projects', type: String
127
127
  },
128
128
  tax_pvalue: {
129
- desc: 'Maximum p-value to transfer taxonomy', default: 0.05, type: Float,
129
+ desc: 'Maximum p-value to transfer taxonomy', default: 0.1, type: Float,
130
130
  in: 0.0..1.0
131
131
  },
132
132
  haai_p: {
data/lib/miga/project.rb CHANGED
@@ -128,4 +128,19 @@ class MiGA::Project < MiGA::MiGA
128
128
  require 'miga/daemon'
129
129
  @daemon ||= MiGA::Daemon.new(self)
130
130
  end
131
+
132
+ ##
133
+ # Retrieves the option with name +key+ from the project's metadata,
134
+ # extending support to relative paths in +:ref_project+ and
135
+ # +:db_proj_dir+
136
+ def option_by_metadata(key)
137
+ case key.to_sym
138
+ when :ref_project, :db_proj_dir
139
+ y = metadata[key]
140
+ y = File.expand_path(y, path) if y && y =~ /^[^\/]/
141
+ return y
142
+ end
143
+
144
+ super
145
+ end
131
146
  end
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, 2, 0].freeze
15
+ VERSION = [1.3, 3, 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(2023, 3, 25)
23
+ VERSION_DATE = Date.new(2023, 3, 29)
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.2.0
4
+ version: 1.3.3.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: 2023-03-25 00:00:00.000000000 Z
11
+ date: 2023-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: daemons