sushi_fabric 0.8.1 → 0.8.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
  SHA1:
3
- metadata.gz: c45a202f89d69bf8644c7f52fe12e5eb36b4f0ab
4
- data.tar.gz: c39c5d79fe90945c110d72544e3b110448bbcecf
3
+ metadata.gz: 645b717ca99202bc4096078615202d634a2994f7
4
+ data.tar.gz: a6791499cf55664c1598b52ada177cf91000bc07
5
5
  SHA512:
6
- metadata.gz: 6272a1a247fafcb4dcade60a6d6e8ef7818fde012c145dbe4c53f90e44c10e58beae1e16485b69f20a79b2685037d5dec13292928c181c33f71a6b8e37983cdb
7
- data.tar.gz: 754e57c9126f512ae319fdb1000c519cf46d6f7ac3dadf6fd442ab93cdf6310226607fd576d81ab7c5861c6fbf39dd81fa33e98458f65f0d631cad09591e50bf
6
+ metadata.gz: 4bf57eedfef9468fb4760d9f0a5039413e1b49ddf1ec1cf3a411100b5bd843dad2045f624eb79e84750b9059266107b4b836c4e05cc3433fdc2864bd2d86eab5
7
+ data.tar.gz: c07d09ed4a9a299a0635c71ff3202484a36a2673d2091045ff7cc03a16e97c1c5f5b83db9727d2c46034d5082e1a896eaf4e33952e0c259e648cd05dc94e8eb5
data/bin/sushi_fabric CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # encoding: utf-8
3
- # Version = '20170608-164804'
3
+ # Version = '20170908-105900'
4
4
 
5
5
  require 'sushi_fabric'
6
6
 
@@ -21,6 +21,7 @@ Usage:
21
21
  o.on(:load_path, '-I load_path', '--load_path', 'Add path where SushiApp class is located (default: ./lib)')
22
22
  o.on(:next_dataset_name, '-n next_dataset_name', '--next_dataset_name', 'Next DataSet Name (default: Analysis_Category+ID+Date )')
23
23
  o.on(:off_bfab, '-f', '--off_bfab', 'Do NOT register the dataset in BFabric (default: false, namely register in BFabric)')
24
+ o.on(:mango_run_name, '-g mango_run_name', '--mango_run_name', 'ManGO RunName_oBFabricID')
24
25
  o.parse!(ARGV)
25
26
  end
26
27
  opt.project = 'p' + opt.project
@@ -74,6 +75,9 @@ end
74
75
  if opt.next_dataset_name
75
76
  usecase.next_dataset_name = opt.next_dataset_name
76
77
  end
78
+ if opt.mango_run_name
79
+ usecase.mango_run_name = opt.mango_run_name
80
+ end
77
81
  if opt.run_mode
78
82
  usecase.run
79
83
  else
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # encoding: utf-8
3
- # Version = '20170905-154636'
3
+ # Version = '20170908-110323'
4
4
 
5
5
  require 'csv'
6
6
  require 'fileutils'
@@ -220,6 +220,7 @@ class SushiApp
220
220
  attr_accessor :current_user
221
221
  attr_accessor :logger
222
222
  attr_accessor :off_bfabric_registration
223
+ attr_accessor :mango_run_name
223
224
  def initialize
224
225
  @gstore_dir = GSTORE_DIR
225
226
  @project = nil
@@ -676,6 +677,9 @@ rm -rf #{@scratch_dir} || exit 1
676
677
  if comment = data_set_hash['Comment'] and !comment.to_s.empty?
677
678
  data_set.comment = comment
678
679
  end
680
+ if @mango_run_name
681
+ data_set.run_name_order_id = @mango_run_name
682
+ end
679
683
 
680
684
  sample_hash = {}
681
685
  rows.each do |row|
@@ -1,3 +1,3 @@
1
1
  module SushiFabric
2
- VERSION = "0.8.1"
2
+ VERSION = "0.8.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: 0.8.1
4
+ version: 0.8.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: 2017-09-05 00:00:00.000000000 Z
11
+ date: 2017-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler