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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b15a9d2a0905bfb338974e70ceb0045a096b76dcc1cf795490f2f8b90231016b
4
- data.tar.gz: 86d7bb32e8ca9a5e56983be39f3e4d7b177237b59624d2c7ac2e45d7cc7f0725
3
+ metadata.gz: e77fe0b6b1077a64dce0244964847c57ed6c57aa6a388bae212658f300563486
4
+ data.tar.gz: 52259f5560f7838e1d9c3763cff3a7686b0be12601e3e2cd5f5b7e9e380d6050
5
5
  SHA512:
6
- metadata.gz: '090c15c98e9d555cf8ca4c17d7ac246d74effed1463f87ffe6ff3aa1f9f415798a7758b9d8df45713f46bfb586e81c78e87fa32535426372c3a4ee952c5fb353'
7
- data.tar.gz: b76a85e0633115721f1033724c62e6910a6666bd5f47510f454666da7aff744970b871ea25f7fa216837d14c42fdc94c563cd22a4a6e9d151a36d92af7211bee
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
 
@@ -53,7 +53,7 @@ module Inferno
53
53
 
54
54
  # Set the url of the validator service
55
55
  #
56
- # @param url [String]
56
+ # @param validator_url [String]
57
57
  def url(validator_url = nil)
58
58
  @url = validator_url if validator_url
59
59
 
@@ -456,12 +456,13 @@ module Inferno
456
456
 
457
457
  # @private
458
458
  def required_inputs(prior_outputs = [])
459
- required_inputs = inputs.select do |input|
460
- !input_definitions[input][:optional] && !prior_outputs.include?(input)
461
- end
462
- required_inputs.map! { |input_identifier| input_definitions[input_identifier][:name] }
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
 
@@ -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
  }