sushi_fabric 1.1.1 → 1.1.2
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 -3
- 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: d8673a804328196ed41af9ab969a5ae84871bcdfe642e699c7564d9a30ebeb5b
|
4
|
+
data.tar.gz: 3749f2baffa9e17e37e26e36d5942bcef0d70d0ad6e1b34844892e48ab2e9482
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0dc67d3759495c74ca090c919843dd2be3a05243a74bf9ad5a4966c9522d9434216320a9ad98edcb01eea7207f7caececa1212c4c0cefef7f561fe5710690121
|
7
|
+
data.tar.gz: 1e81885828d563c1008c1b80b40f88fd9045de043715ca99c60b900dedb8671eda0746d90fb1a4505332230c0294cad073001c2b9af6ca3643f756e4e7f9f395
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# encoding: utf-8
|
3
|
-
# Version = '
|
3
|
+
# Version = '20211015-142855'
|
4
4
|
|
5
5
|
require 'csv'
|
6
6
|
require 'fileutils'
|
@@ -20,6 +20,7 @@ module SushiFabric
|
|
20
20
|
config.scratch_dir = '/tmp/scratch'
|
21
21
|
config.module_source = nil
|
22
22
|
config.course_mode = nil
|
23
|
+
config.rails_host = nil
|
23
24
|
end
|
24
25
|
|
25
26
|
# load custmized parameters if there is
|
@@ -41,6 +42,7 @@ module SushiFabric
|
|
41
42
|
config.scratch_dir = '/tmp/scratch'
|
42
43
|
config.module_source = nil
|
43
44
|
config.course_mode = nil
|
45
|
+
config.rails_host = nil
|
44
46
|
end
|
45
47
|
end
|
46
48
|
EOF
|
@@ -53,7 +55,7 @@ end
|
|
53
55
|
SUSHI_APP_DIR = config.sushi_app_dir
|
54
56
|
SCRATCH_DIR = config.scratch_dir
|
55
57
|
MODULE_SOURCE = config.module_source
|
56
|
-
|
58
|
+
RAILS_HOST = config.rails_host
|
57
59
|
unless File.exist?(GSTORE_DIR)
|
58
60
|
FileUtils.mkdir_p GSTORE_DIR
|
59
61
|
end
|
@@ -524,7 +526,7 @@ rm -rf #{@scratch_dir} || exit 1
|
|
524
526
|
job_id = 0
|
525
527
|
begin
|
526
528
|
#job_id = @workflow_manager.start_monitoring(job_script, @user, 0, script_content, project_number, gsub_options.join(' '), @gstore_script_dir)
|
527
|
-
job_id = @workflow_manager.start_monitoring3(job_script, script_content, @user, project_number, gsub_options.join(' '), @gstore_script_dir, @next_dataset_id)
|
529
|
+
job_id = @workflow_manager.start_monitoring3(job_script, script_content, @user, project_number, gsub_options.join(' '), @gstore_script_dir, @next_dataset_id, RAILS_HOST)
|
528
530
|
rescue => e
|
529
531
|
time = Time.now.strftime("[%Y.%m.%d %H:%M:%S]")
|
530
532
|
@logger.error("*"*50)
|
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.2
|
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: 2021-
|
11
|
+
date: 2021-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|