sushi_fabric 0.6.2 → 0.6.3

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: f0900a0fae84f67013fdd8eab2cad8b026bbdc25
4
- data.tar.gz: b5c40a65c50b874dbc1a26815144810b16f67b26
3
+ metadata.gz: eb3c7b926db086c8ed7e1ceb0c1931388dcb4ac9
4
+ data.tar.gz: d8192ad40f84de8f5d71798597c9265b246d70e2
5
5
  SHA512:
6
- metadata.gz: f134738fb2ee9bc6ea8f8ddbec62031d5abe2dea79467e4cbda3508162685ef6521fd29d0ee07f8b96109f7ae9ccd7ad1d6c366546e640b3c7456a00d06eff04
7
- data.tar.gz: ed75ef4646c46a7120f4dfa8de4fd688e58e690704858e73cad23178a7cc0c570a85ce6da966d613f8fba44bb760295067b858bd4fa077ad45d32e0688e382bc
6
+ metadata.gz: 2133a49e131dd435e0340154eac3098ed807ec8704ebd612b8804f95c7bbe566ccee7a799d7915eeaf5dda8dacb69d93681b0f9d50e1f360be543bf7476f918e
7
+ data.tar.gz: 4089dc1323ce6dd2cd799dd6806595770e347bce89d6afde0d511e5f85913c4276763a4d4f358fcb52bfa683cb54c388bdc034f4a50ae75cd56589f65e5fb470
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # encoding: utf-8
3
- # Version = '20161103-080724'
3
+ # Version = '20161103-082137'
4
4
 
5
5
  require 'csv'
6
6
  require 'fileutils'
@@ -568,9 +568,9 @@ rm -rf #{@scratch_dir} || exit 1
568
568
  ## WRITE THE JOB SCRIPT
569
569
  sample_name = @dataset['Name']||@dataset.first
570
570
  @job_script = if @dataset_sushi_id and dataset = DataSet.find_by_id(@dataset_sushi_id.to_i)
571
- File.join(@job_script_dir, sample_name) + '_' + dataset.name.gsub(/\s+/,'_') + '.sh'
571
+ File.join(@job_script_dir, @analysis_category + '_' + sample_name) + '_' + dataset.name.gsub(/\s+/,'_') + '.sh'
572
572
  else
573
- File.join(@job_script_dir, sample_name) + '.sh'
573
+ File.join(@job_script_dir, @analysis_category + '_' + sample_name) + '.sh'
574
574
  end
575
575
  make_job_script
576
576
  @job_scripts << @job_script
@@ -579,9 +579,9 @@ rm -rf #{@scratch_dir} || exit 1
579
579
  end
580
580
  def dataset_mode
581
581
  @job_script = if @dataset_sushi_id and dataset = DataSet.find_by_id(@dataset_sushi_id.to_i)
582
- File.join(@job_script_dir, dataset.name.gsub(/\s+/,'_') + '.sh')
582
+ File.join(@job_script_dir, @analysis_category + '_' + dataset.name.gsub(/\s+/,'_') + '.sh')
583
583
  else
584
- File.join(@job_script_dir, 'job_script.sh')
584
+ File.join(@job_script_dir, @analysis_category + '_' + 'job_script.sh')
585
585
  end
586
586
  make_job_script
587
587
  @job_scripts << @job_script
@@ -1,3 +1,3 @@
1
1
  module SushiFabric
2
- VERSION = "0.6.2"
2
+ VERSION = "0.6.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sushi_fabric
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Functional Genomics Center Zurich