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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f27bf481942df3066dc10ead974eb849cbc0c2f7ad010599d2d75b7cdf9d6762
4
- data.tar.gz: fd39ea3911fd3f9571ceb4c3b2071e51103109d85f7e9e042edabddc95733adc
3
+ metadata.gz: d8673a804328196ed41af9ab969a5ae84871bcdfe642e699c7564d9a30ebeb5b
4
+ data.tar.gz: 3749f2baffa9e17e37e26e36d5942bcef0d70d0ad6e1b34844892e48ab2e9482
5
5
  SHA512:
6
- metadata.gz: 36560e6365fe052621295480761c71b1082601f645261a728910e8c03372a601fdfd8ea9883233a68212eaf0cbd60598a32c62fcbc068445b6c150bdf170aeb8
7
- data.tar.gz: 930e64f997d8383991e88c5c6f21fab27d5c1f40e59e16987b002a62615d96aa65571eca1c055708c75b0f96496bd3bf3a9ee72d025e5a75e1e1e79b8143c973
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 = '20210813-192118'
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)
@@ -1,3 +1,3 @@
1
1
  module SushiFabric
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
3
  end
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.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-08-15 00:00:00.000000000 Z
11
+ date: 2021-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler