arvados-cli 0.1.20161011231816 → 0.1.20161017193526
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/arv-run-pipeline-instance +17 -14
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57833719e09fb7eb4b39afa7a2d129a8788883a6
|
4
|
+
data.tar.gz: 7ad15cd9b2b43cb9f4394fe544c824737a992d1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ffb3a40c55f0ed87ddf25793df6948c44759355b5d939f5962d3fdba46653207d47786fca427a778b7a7d78f3785d2a3117a79eb4b3b83d71af414a63febc2d
|
7
|
+
data.tar.gz: 7e581bca19e77f19155dc0da34fd1a7cfe745aae207d497283f593b0837817e72a306b5827938d772dd8ec3f7ed1495769ff1decc1bce64f75c47265438d34ce
|
@@ -364,22 +364,25 @@ class WhRunPipelineInstance
|
|
364
364
|
@components.each do |componentname, component|
|
365
365
|
component[:script_parameters].each do |parametername, parameter|
|
366
366
|
parameter = { :value => parameter } unless parameter.is_a? Hash
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
if not @components[parameter[:output_of].intern]
|
378
|
-
errors << [componentname, parametername, "output_of refers to nonexistent component '#{parameter[:output_of]}'"]
|
379
|
-
end
|
380
|
-
next
|
367
|
+
if params.has_key?("#{componentname}::#{parametername}")
|
368
|
+
value = params["#{componentname}::#{parametername}"]
|
369
|
+
elsif parameter.has_key?(:value)
|
370
|
+
value = parameter[:value]
|
371
|
+
elsif parameter.has_key?(:output_of)
|
372
|
+
if !@components[parameter[:output_of].intern]
|
373
|
+
errors << [componentname, parametername, "output_of refers to nonexistent component '#{parameter[:output_of]}'"]
|
374
|
+
else
|
375
|
+
# value will be filled in later when the upstream
|
376
|
+
# component's output becomes known
|
381
377
|
end
|
378
|
+
next
|
379
|
+
elsif params.has_key?(parametername.to_s)
|
380
|
+
value = params[parametername.to_s]
|
381
|
+
elsif parameter.has_key?(:default)
|
382
|
+
value = parameter[:default]
|
383
|
+
else
|
382
384
|
errors << [componentname, parametername, "required parameter is missing"]
|
385
|
+
next
|
383
386
|
end
|
384
387
|
debuglog "parameter #{componentname}::#{parametername} == #{value}"
|
385
388
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arvados-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.20161017193526
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arvados Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: arvados
|
@@ -164,7 +164,7 @@ dependencies:
|
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0.8'
|
167
|
-
description: Arvados command line tools, git commit
|
167
|
+
description: Arvados command line tools, git commit 921fef9e349cada916934ae0131067adac8d0335
|
168
168
|
email: gem-dev@curoverse.com
|
169
169
|
executables:
|
170
170
|
- arv
|