sushi_fabric 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sushi_fabric/sushiApp.rb +5 -2
- data/lib/sushi_fabric/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4330f4843df678b5bd74f9c43ac7abcf036dc2b47284c7301d1b93b2e386bf40
|
4
|
+
data.tar.gz: 7f1d59a9197e1c545fd8d3fdf9d98002fc05fd89ecd1651f62e6b238b43038e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f410544c24ec5ea2e8aa0815764cd1543d86ecc710aa514b224c724d698888acd4a2dc317889eeed02f36e300d66d9ed553641078aa5cb4b3eca193d8a838d8
|
7
|
+
data.tar.gz: b7eb98af2294187665b83c5d5594f988f9495b9831cc7d9da0d5513dfd4c9abd838080d9b33ca76d7a00d40923f0075458019ea1fae721008934540be6829883
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# encoding: utf-8
|
3
|
-
# Version = '20230623-
|
3
|
+
# Version = '20230623-175030'
|
4
4
|
|
5
5
|
require 'csv'
|
6
6
|
require 'fileutils'
|
@@ -349,7 +349,9 @@ class SushiApp
|
|
349
349
|
end
|
350
350
|
def check_application_parameters
|
351
351
|
if @required_params and (@required_params - @params.keys).empty?
|
352
|
-
|
352
|
+
# PD, 20230623, the following fix changed parameters.tsv info, and reverted
|
353
|
+
#@output_params = {"sushi_app" => self.class.name}.merge(@params.clone)
|
354
|
+
@output_params = @params.clone
|
353
355
|
end
|
354
356
|
end
|
355
357
|
def set_user_parameters
|
@@ -588,6 +590,7 @@ rm -rf #{@scratch_dir} || exit 1
|
|
588
590
|
def save_parameters_as_tsv
|
589
591
|
file_path = File.join(@scratch_result_dir, @parameter_file)
|
590
592
|
CSV.open(file_path, 'w', :col_sep=>"\t") do |out|
|
593
|
+
out << ["sushi_app", self.class.name]
|
591
594
|
@output_params.each do |key, value|
|
592
595
|
if @output_params[key, 'file_upload'] and !value.to_s.empty?
|
593
596
|
uploaded_file_path = File.join(@result_dir, "uploaded", File.basename(value))
|
data/lib/sushi_fabric/version.rb
CHANGED