sushi_fabric 1.2.4 → 1.2.6

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: 28252c62a5ac77892808193b02a694e48bf56c5f28cbe11ad8c26eb3076fd5d4
4
- data.tar.gz: 9c15be2d98e78916fac71ebd653761e50b0b0f6ace6698ee15a277d73e28aea8
3
+ metadata.gz: 54b9737f2ef32b1005cc4aec5a474424d3055f3c3d095b1a3304beafd27d6200
4
+ data.tar.gz: 3a56fc3324eb3271ddc1dda0660d821f91212537812486754266fe9527da8fad
5
5
  SHA512:
6
- metadata.gz: 67e11563c751c2c2905f8109046d376c24fd16418707d7e39be79fae7b6c93a01a300cbed6d5fdcf97984af1e613510602a44add4358528affb58fe3b0de0994
7
- data.tar.gz: 368bebe991f06642d8202eb7f65a97cb2dd6e762e01c712a1841e16350513dd45b59ef8b822a049163c383f5a00698057740faac540584158b71f97885e9b069
6
+ metadata.gz: 300528219f4727ef680e12c9c653b30a8f6be17b4a3b0a64b22b54e95112954724f18a88902b18db66cf9503289e399b6a39d53046e8c9dd5edaa668f0ec63af
7
+ data.tar.gz: 1e6375d4c4778748aa7ed2225476a1bf7135f6226fe9e30e8801916f24bb595dd276d58c5b385a6c34762c23d5afd697486fc39b950919ba1b8524c5844f6f81
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # encoding: utf-8
3
- # Version = '20231208-144616'
3
+ # Version = '20240806-095335'
4
4
 
5
5
  require 'csv'
6
6
  require 'fileutils'
@@ -729,7 +729,11 @@ rm -rf #{@scratch_dir} || exit 1
729
729
  end
730
730
  end
731
731
  def dataset_mode
732
- selected_samples = Hash[*@params['samples'].split(',').map{|sample_name| [sample_name, true]}.flatten]
732
+ selected_samples = unless @params['samples'].empty?
733
+ Hash[*@params['samples'].split(',').map{|sample_name| [sample_name, true]}.flatten]
734
+ else
735
+ Hash[*@dataset_hash.map{|row| row['Name']}.map{|sample_name| [sample_name, true]}.flatten]
736
+ end
733
737
  # for a case of @dataset is used in def next_datast in SUSHIApp
734
738
  @dataset = []
735
739
  @dataset_hash.each do |row|
@@ -872,20 +876,6 @@ rm -rf #{@scratch_dir} || exit 1
872
876
  @current_user ||= nil
873
877
  @next_dataset_id = save_data_set(data_set_arr.to_a.flatten, headers, rows, @current_user, @child)
874
878
  save_parameters_in_sushi_db
875
-
876
- unless @off_bfabric_registration
877
- if next_dataset = DataSet.find_by_id(@next_dataset_id)
878
- next_dataset.register_bfabric(bfabric_application_number: @next_dataset_bfabric_application_number)
879
- if next_dataset.workunit_id
880
- @job_scripts.each do |job_script|
881
- open(job_script, "a") do |out|
882
- out.puts "WORKUNIT_ID=#{next_dataset.workunit_id}"
883
- out.puts "update_resource_size -w $WORKUNIT_ID"
884
- end
885
- end
886
- end
887
- end
888
- end
889
879
  end
890
880
  end
891
881
  copy_uploaded_files
@@ -1,3 +1,3 @@
1
1
  module SushiFabric
2
- VERSION = "1.2.4"
2
+ VERSION = "1.2.6"
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.2.4
4
+ version: 1.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Functional Genomics Center Zurich
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-08 00:00:00.000000000 Z
11
+ date: 2024-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -69,7 +69,7 @@ homepage: ''
69
69
  licenses:
70
70
  - MIT
71
71
  metadata: {}
72
- post_install_message:
72
+ post_install_message:
73
73
  rdoc_options: []
74
74
  require_paths:
75
75
  - lib
@@ -84,8 +84,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  - !ruby/object:Gem::Version
85
85
  version: '0'
86
86
  requirements: []
87
- rubygems_version: 3.3.26
88
- signing_key:
87
+ rubygems_version: 3.5.5
88
+ signing_key:
89
89
  specification_version: 4
90
90
  summary: workflow manager client.
91
91
  test_files: