sushi_fabric 1.3.0 → 1.3.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5fd326eaf8b9a5122f254584de8c7c05d17f787bc794d9f6c0ae6aece9d3c43a
4
- data.tar.gz: e8974e60c798c7d530cde78b651bcfc0dddec8d1bd251211051c05fd891079bd
3
+ metadata.gz: 1cad308291efa3003ad82f9145250b8ab3a1b58c540a390e76b34b5f5f4aa486
4
+ data.tar.gz: 6bb026994c95dc5a98e04fe880baed61ae6226bd2a4c9a76e46f4774cb4525bd
5
5
  SHA512:
6
- metadata.gz: b33a127381df9c20f85cb2f12a9b43e76676c53e9fc2aab9376ffae7a2892d056d96b87bf2b42e6e2f46682c778cf6908e413d4d7eee1dfaa7e8f9cf2db93bf9
7
- data.tar.gz: 0dcb5d15ab77db9c9f3c081e75703dfc9978c97bc3e814471ad906e47a5c55f5f5997a74c5afdc1f860b342827f751c18c07eece1405919e5ea0b848aaf3b99d
6
+ metadata.gz: 91b181a841ecf30d19308d9287419d4384d7167ab48ea7b0642a5e33d65160cb89f631fed808c372d9f12af52b73c11ce2769f93a02fc396154999426961a44b
7
+ data.tar.gz: 197f0d52d86b044f5aa4284724b601f2598ad6903f99b970fd1a8d9f6d0236033046902cd0b3fe29fa607db46fc16237f97b12554a65aecaf803f1f76a6d312e
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  # encoding: utf-8
3
- # Version = '20241121-112242'
3
+ # Version = '20241122-134036'
4
4
 
5
5
  require 'csv'
6
6
  require 'fileutils'
@@ -81,6 +81,8 @@ end
81
81
  require "#{SUSHI_APP_DIR}/app/models/data_set"
82
82
  require "#{SUSHI_APP_DIR}/app/models/sample"
83
83
  require "#{SUSHI_APP_DIR}/app/models/job"
84
+ require "#{SUSHI_APP_DIR}/app/jobs/application_job"
85
+ require "#{SUSHI_APP_DIR}/app/jobs/make_whole_tree_job"
84
86
  else
85
87
  NO_ROR = true
86
88
  end
@@ -854,6 +856,7 @@ rm -rf #{@scratch_dir} || exit 1
854
856
  @next_dataset_tsv_path = save_next_dataset_as_tsv
855
857
 
856
858
  if @dataset_sushi_id and dataset = DataSet.find_by_id(@dataset_sushi_id.to_i)
859
+ @project_id = dataset.project.id
857
860
  data_set_arr = []
858
861
  headers = []
859
862
  rows = []
@@ -912,6 +915,12 @@ rm -rf #{@scratch_dir} || exit 1
912
915
  new_job.data_set.save
913
916
  end
914
917
  end
918
+
919
+ # Update dataset tree
920
+ if @project_id
921
+ puts "# Update dataset tree by ActiveJob"
922
+ MakeWholeTreeJob.perform_later(@project_id)
923
+ end
915
924
  copy_nextdataset
916
925
  end
917
926
  def run
@@ -1,3 +1,3 @@
1
1
  module SushiFabric
2
- VERSION = "1.3.0"
2
+ VERSION = "1.3.1"
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.3.0
4
+ version: 1.3.1
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-11-21 00:00:00.000000000 Z
11
+ date: 2024-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler