inferno_core 0.1.2 → 0.1.3.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/inferno/apps/web/controllers/test_runs/create.rb +2 -0
- data/lib/inferno/dsl/fhir_validation.rb +1 -1
- data/lib/inferno/dsl/runnable.rb +6 -5
- data/lib/inferno/public/72a5cd989e6aea904540824ec865a0f8.png +0 -0
- data/lib/inferno/public/assets.json +2 -2
- data/lib/inferno/public/bundle.js +15 -15
- data/lib/inferno/public/bundle.js.LICENSE.txt +1 -1
- data/lib/inferno/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e77fe0b6b1077a64dce0244964847c57ed6c57aa6a388bae212658f300563486
|
4
|
+
data.tar.gz: 52259f5560f7838e1d9c3763cff3a7686b0be12601e3e2cd5f5b7e9e380d6050
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38665e97697ea4bb570d7721197e05f16345e8e09b05fb2d573b10ed3b25cde28734433e9bf2be8cc874beaa9849c379e10acf70310e3aea7df00941fad8216f
|
7
|
+
data.tar.gz: fd44ae1fb46bac9358cc7b0b8a444bd1dcdf545fbd75588afc10d175f489601c6b2211d143f7387119bf6ac363644dfe9984b9e706efaf2fe4968b147ce479c2
|
@@ -21,6 +21,8 @@ module Inferno
|
|
21
21
|
return
|
22
22
|
end
|
23
23
|
|
24
|
+
# TODO: This test run shouldn't be created until after the inputs
|
25
|
+
# and runnable are validated
|
24
26
|
test_run = repo.create(create_params(params).merge(status: 'queued'))
|
25
27
|
missing_inputs = test_run.runnable.missing_inputs(params[:inputs])
|
26
28
|
|
data/lib/inferno/dsl/runnable.rb
CHANGED
@@ -456,12 +456,13 @@ module Inferno
|
|
456
456
|
|
457
457
|
# @private
|
458
458
|
def required_inputs(prior_outputs = [])
|
459
|
-
required_inputs =
|
460
|
-
|
461
|
-
|
462
|
-
|
459
|
+
required_inputs =
|
460
|
+
inputs
|
461
|
+
.reject { |input| input_definitions[input][:optional] }
|
462
|
+
.map { |input| config.input_name(input) }
|
463
|
+
.reject { |input| prior_outputs.include?(input) }
|
463
464
|
children_required_inputs = children.flat_map { |child| child.required_inputs(prior_outputs) }
|
464
|
-
prior_outputs.concat(outputs)
|
465
|
+
prior_outputs.concat(outputs.map { |output| config.output_name(output) })
|
465
466
|
(required_inputs + children_required_inputs).flatten.uniq
|
466
467
|
end
|
467
468
|
|
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"main.js": "/public/bundle.js",
|
3
|
-
"main.png": "/public/e09b16f5cb645eb05f90c8f38f3409fb.png",
|
4
3
|
"217.bundle.js": "/public/217.bundle.js",
|
5
|
-
"inferno_logo.png": "/public/e09b16f5cb645eb05f90c8f38f3409fb.png"
|
4
|
+
"inferno_logo.png": "/public/e09b16f5cb645eb05f90c8f38f3409fb.png",
|
5
|
+
"inferno_icon.png": "/public/72a5cd989e6aea904540824ec865a0f8.png"
|
6
6
|
}
|