sushi_fabric 1.0.2 → 1.0.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f9006b34b7600a8d1eadd5016f972427a3b879c33773e71b73f824252c238e2c
4
- data.tar.gz: 1211f6f928b02c9cb3257a000f13a57685dbabca9d947dfa8b3d3e0fea105c57
3
+ metadata.gz: b645fb8369eee1152493ef424f092cd00f0a5a08c27cb78d4b081e17c0b18784
4
+ data.tar.gz: 2630d702479d4eac533f737e226c80cbe115598d891eb526ec1f8e7004fc9481
5
5
  SHA512:
6
- metadata.gz: 8a0d8d0cee0aba783393f144ff6eaf7f22b01e5ec9e781870bec342e7ad7bdf04fa10ecd10d49f548cd010c576e606d38b76846093314a554564eafae868ec14
7
- data.tar.gz: e7909f64a0328680f1fd680ec1bfed5fc852c4e64876d74eff3b113cfcddabd2baf23199d89c734344dd298bea6a44c798978788269b999be953ac0f1f531d75
6
+ metadata.gz: a68e3cee864cc0cd12b5335b9d8d1eb8688175870455b61d4153109c8d98e5d77846d4ef87d50bec8c1dde624511cfde6b60de1110724b1878ccc19af91bd6ea
7
+ data.tar.gz: 331228ad3cebe41dbf0b6b921e2284d1030e2948f92b2ecebbc9955242ec3c47730b972e367947018114748e0fe9c65a6f9e3660896047684370b3f8fabfd8c5
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # encoding: utf-8
3
- # Version = '20201109-225541'
3
+ # Version = '20201218-155451'
4
4
 
5
5
  require 'csv'
6
6
  require 'fileutils'
@@ -238,6 +238,7 @@ class SushiApp
238
238
  @params['scratch'] = nil
239
239
  @params['node'] = ''
240
240
  @params['queue'] = ''
241
+ @params['partition'] = ''
241
242
  @params['process_mode'] = 'SAMPLE'
242
243
  @params['samples'] = ''
243
244
  @job_ids = []
@@ -494,6 +495,7 @@ rm -rf #{@scratch_dir} || exit 1
494
495
  gsub_options = []
495
496
  gsub_options << "-c #{@params['cores']}" unless @params['cores'].to_s.empty?
496
497
  gsub_options << "-n #{@params['node']}" unless @params['node'].to_s.empty?
498
+ gsub_options << "-p #{@params['partition']}" unless @params['partition'].to_s.empty?
497
499
  gsub_options << "-r #{@params['ram']}" unless @params['ram'].to_s.empty?
498
500
  gsub_options << "-s #{@params['scratch']}" unless @params['scratch'].to_s.empty?
499
501
  command = "wfm_monitoring --server #{WORKFLOW_MANAGER} --user #{@user} --project #{@project.gsub(/p/,'')} --logdir #{@gstore_script_dir} #{job_script} #{gsub_options.join(' ')}"
@@ -1,3 +1,3 @@
1
1
  module SushiFabric
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
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.0.2
4
+ version: 1.0.3
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: 2020-11-09 00:00:00.000000000 Z
11
+ date: 2020-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler