sushi_fabric 1.1.5 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/sushi_fabric/sushiApp.rb +9 -1
- data/lib/sushi_fabric/version.rb +1 -1
- 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: 9fedc477c136f74445e146138c9e0aa66be6fb2ab0c01da53c88827f19ac6363
|
|
4
|
+
data.tar.gz: 935cee957707889446cbd842e506551cb6269a38f71ad300e3c828bdac6790a0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 42da71dbf0da6dab834e42f943d2dd0fb8a8a29598e8274927abb2233fc9db15953961adb60fd99ce45ed265ea7d33e3f77949be7c6aaf05c9699d7c69ba94d0
|
|
7
|
+
data.tar.gz: 79f887cb36630cbc1ad3c8d8b1b8c6431348a5707cc83db17572223724ea275e6564c2ca885cbe52b7d427fb1ddafa69cd50db96d101797b266852b088861345
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
2
|
# encoding: utf-8
|
|
3
|
-
# Version = '
|
|
3
|
+
# Version = '20220127-101054'
|
|
4
4
|
|
|
5
5
|
require 'csv'
|
|
6
6
|
require 'fileutils'
|
|
@@ -590,6 +590,7 @@ rm -rf #{@scratch_dir} || exit 1
|
|
|
590
590
|
uploaded_file_path = File.join(@result_dir, "uploaded", File.basename(value))
|
|
591
591
|
out << [key, uploaded_file_path]
|
|
592
592
|
@params[key] = uploaded_file_path
|
|
593
|
+
@output_params[key] = uploaded_file_path
|
|
593
594
|
else
|
|
594
595
|
out << [key, value]
|
|
595
596
|
end
|
|
@@ -806,6 +807,12 @@ rm -rf #{@scratch_dir} || exit 1
|
|
|
806
807
|
data_set.id
|
|
807
808
|
end
|
|
808
809
|
end
|
|
810
|
+
def save_parameters_in_sushi_db
|
|
811
|
+
if @next_dataset_id and next_dataset = DataSet.find_by_id(@next_dataset_id)
|
|
812
|
+
next_dataset.job_parameters = @output_params
|
|
813
|
+
next_dataset.save
|
|
814
|
+
end
|
|
815
|
+
end
|
|
809
816
|
def main(mock=false)
|
|
810
817
|
## sushi writes creates the job scripts and builds the result data set that is to be generated
|
|
811
818
|
@result_dataset = []
|
|
@@ -852,6 +859,7 @@ rm -rf #{@scratch_dir} || exit 1
|
|
|
852
859
|
unless NO_ROR
|
|
853
860
|
@current_user ||= nil
|
|
854
861
|
@next_dataset_id = save_data_set(data_set_arr.to_a.flatten, headers, rows, @current_user, @child)
|
|
862
|
+
save_parameters_in_sushi_db
|
|
855
863
|
|
|
856
864
|
unless @off_bfabric_registration
|
|
857
865
|
if next_dataset = DataSet.find_by_id(@next_dataset_id)
|
data/lib/sushi_fabric/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sushi_fabric
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Functional Genomics Center Zurich
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-01-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|