sushi_fabric 0.6.9 → 0.7.0
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.
- checksums.yaml +4 -4
- data/lib/sushi_fabric/sushiApp.rb +7 -5
- data/lib/sushi_fabric/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 913e2ea9c25f4966ef47d55ab6ca86e02093afe0
|
4
|
+
data.tar.gz: cb1ddafc870251068b9666135e4c63f6a5bb768a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd6477e704f689213e520b8d53ab48a779b11f37aabfb1157f6ba835ec1c3c3d0bcafc4109acc16706fb743151ca400d2fa0aca0d10f5f4919dc1fc79adb10e8
|
7
|
+
data.tar.gz: 09282ce5875251c126c2f5573f80c0abe35ff4dc2917acfebbde1841e62b1cc96d534c224e27b647dc057264bce2d0001cbeab30d2eb874b96cb7288febad716
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# encoding: utf-8
|
3
|
-
# Version = '
|
3
|
+
# Version = '20170303-140449'
|
4
4
|
|
5
5
|
require 'csv'
|
6
6
|
require 'fileutils'
|
@@ -249,8 +249,9 @@ class SushiApp
|
|
249
249
|
@current_user ||= nil
|
250
250
|
@dataset_sushi_id = save_data_set(data_set_arr.to_a.flatten, headers, rows, @current_user)
|
251
251
|
unless @off_bfabric_registration
|
252
|
-
dataset = DataSet.find_by_id(@dataset_sushi_id.to_i)
|
253
|
-
|
252
|
+
if dataset = DataSet.find_by_id(@dataset_sushi_id.to_i)
|
253
|
+
dataset.register_bfabric
|
254
|
+
end
|
254
255
|
end
|
255
256
|
end
|
256
257
|
elsif @dataset_sushi_id
|
@@ -707,8 +708,9 @@ rm -rf #{@scratch_dir} || exit 1
|
|
707
708
|
@next_dataset_id = save_data_set(data_set_arr.to_a.flatten, headers, rows, @current_user)
|
708
709
|
|
709
710
|
unless @off_bfabric_registration
|
710
|
-
next_dataset = DataSet.find_by_id(@next_dataset_id)
|
711
|
-
|
711
|
+
if next_dataset = DataSet.find_by_id(@next_dataset_id)
|
712
|
+
next_dataset.register_bfabric
|
713
|
+
end
|
712
714
|
end
|
713
715
|
|
714
716
|
# save job and dataset relation in Sushi DB
|
data/lib/sushi_fabric/version.rb
CHANGED
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.
|
4
|
+
version: 0.7.0
|
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-03-
|
11
|
+
date: 2017-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|