sushi_fabric 1.2.5 → 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: 68c7143037755247fc850a7c574aa720ab8aa4f39412f8e449d6236fd5d89d90
4
- data.tar.gz: f0bd2e3063d60ce06367eb46df75a4af63fa9c5c7d8629c7d59e2190ea0a444b
3
+ metadata.gz: 54b9737f2ef32b1005cc4aec5a474424d3055f3c3d095b1a3304beafd27d6200
4
+ data.tar.gz: 3a56fc3324eb3271ddc1dda0660d821f91212537812486754266fe9527da8fad
5
5
  SHA512:
6
- metadata.gz: ebb89970779ede7d176f38bd6cad8de240b027cfca028eae28d0fc1c75793d1c2293f881040ddb8733bfd351f111e772d20eb7e8c833229366f557e0eb4beee6
7
- data.tar.gz: c385481e909ce0e60a41d208dcb2271e5240cb94f3205b4e51990d038c939734200d5b3fa879c14f1b9831d3a35f34ff48eb1d9ce35b8524b14e00bab48c46fa
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 = '20240723-154553'
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|
@@ -1,3 +1,3 @@
1
1
  module SushiFabric
2
- VERSION = "1.2.5"
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.5
4
+ version: 1.2.6
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: 2024-07-23 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