sushi_fabric 0.5.1 → 0.5.2

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.
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # encoding: utf-8
3
- # Version = '20151120-070708'
3
+ # Version = '20160204-150055'
4
4
 
5
5
  require 'csv'
6
6
  require 'fileutils'
@@ -429,14 +429,14 @@ rm -rf #{@scratch_dir} || exit 1
429
429
  unless job_id.to_i > 1
430
430
  @logger.error("#"*50)
431
431
  time = Time.now.strftime("[%Y.%m.%d %H:%M:%S]")
432
- @logger.error("error happened in job submitting, but maybe file. #{time}")
432
+ @logger.error("error happened in job submitting, but maybe fine. #{time}")
433
433
  @logger.error("#"*50)
434
434
  job_id = nil
435
435
  end
436
436
  rescue
437
437
  @logger.error("@"*50)
438
438
  time = Time.now.strftime("[%Y.%m.%d %H:%M:%S]")
439
- @logger.error("error happened in job submitting, but maybe file. #{time}")
439
+ @logger.error("error happened in job submitting, but maybe fine. #{time}")
440
440
  @logger.error("@"*50)
441
441
  job_id = nil
442
442
  end
@@ -710,7 +710,7 @@ rm -rf #{@scratch_dir} || exit 1
710
710
  save_parameters_as_tsv
711
711
  save_input_dataset_as_tsv
712
712
 
713
- if `hostname`.chomp =~ /fgcz-s-034/
713
+ if SushiFabric::Application.config.fgcz?
714
714
  # this causes sqlite3 IO error in Mac OSX (Yosemite)
715
715
  pid = Process.fork do
716
716
  Process.fork do
@@ -1,3 +1,3 @@
1
1
  module SushiFabric
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: sushi_fabric
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.5.1
5
+ version: 0.5.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Functional Genomics Center Zurich
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2015-11-20 00:00:00 Z
13
+ date: 2016-02-04 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler