miga-base 1.3.10.3 → 1.3.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/miga/cli/action/get.rb +5 -0
- data/lib/miga/remote_dataset.rb +1 -0
- data/lib/miga/version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d513b44448defe8d433ed9c6f573dcc84df356c610598e3b2bbaea370c9f459
|
4
|
+
data.tar.gz: e09fb9877dfe796856db08b80ac176033025603a49ca5222fda69942544c99ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e55a66e7dd5e8fe3b06ba3ed36d1a6b7e1480d8a99505e348f1a3fe4ebd3ffdc90b878249f788ac6b930544f7f7b5a24fc847a0bd2e55331c74f5af0256e2f92
|
7
|
+
data.tar.gz: f26bc6e99d591a60603c06de28f6b622ac13ed9e4d17acce43f532a3d29bed930e013aa7bd84b93aa1f9ca272c4427ea4bce7afe8e0bd5fbeef4174b75d40142
|
data/lib/miga/cli/action/get.rb
CHANGED
@@ -61,6 +61,10 @@ class MiGA::Cli::Action::Get < MiGA::Cli::Action
|
|
61
61
|
'--only-metadata',
|
62
62
|
'Create datasets without input data but retrieve all metadata'
|
63
63
|
) { |v| cli[:only_md] = v }
|
64
|
+
opt.on(
|
65
|
+
'--bypass-metadata',
|
66
|
+
'Do not gather optional metadata such as the dataset taxonomy'
|
67
|
+
) { |v| cli[:bypass_md] = v }
|
64
68
|
opt.on(
|
65
69
|
'--api-key STRING',
|
66
70
|
'API key for the given universe'
|
@@ -75,6 +79,7 @@ class MiGA::Cli::Action::Get < MiGA::Cli::Action
|
|
75
79
|
rd = create_remote_dataset(sub_cli, p)
|
76
80
|
next if rd.nil?
|
77
81
|
|
82
|
+
rd.metadata[:bypass_metadata] = true if sub_cli[:bypass_md]
|
78
83
|
if sub_cli[:get_md]
|
79
84
|
update_metadata(sub_cli, p, rd)
|
80
85
|
else
|
data/lib/miga/remote_dataset.rb
CHANGED
@@ -188,6 +188,7 @@ class MiGA::RemoteDataset < MiGA::MiGA
|
|
188
188
|
# Get metadata from the remote location.
|
189
189
|
def get_metadata(metadata_def = {})
|
190
190
|
metadata_def.each { |k, v| @metadata[k] = v }
|
191
|
+
return @metadata if @metadata[:bypass_metadata]
|
191
192
|
|
192
193
|
case universe
|
193
194
|
when :ebi, :ncbi, :web
|
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,
|
15
|
+
VERSION = [1.3, 11, 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(2024, 2,
|
23
|
+
VERSION_DATE = Date.new(2024, 2, 11)
|
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.
|
4
|
+
version: 1.3.11.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: 2024-02-
|
11
|
+
date: 2024-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: daemons
|