workflow_manager 0.2.8 → 0.2.9

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.
@@ -211,11 +211,12 @@ module WorkflowManager
211
211
  waiting_time = 0
212
212
  gstore_dir, input_dataset_path = input_dataset_tsv_path(script_content)
213
213
  if gstore_dir and input_dataset_path
214
- file_list = input_dataset_file_list(input_dataset_path)
215
- file_list.map!{|file| File.join(gstore_dir, file)}
216
214
  waiting_max = 60*60*8 # 8h
217
215
  # wait until the files come
218
- until waiting_time > waiting_max or go_submit = input_dataset_exist?(file_list)
216
+ until waiting_time > waiting_max or
217
+ file_list = input_dataset_file_list(input_dataset_path) and
218
+ file_list.map!{|file| File.join(gstore_dir, file)} and
219
+ go_submit = input_dataset_exist?(file_list)
219
220
  sleep @interval
220
221
  waiting_time += @interval
221
222
  end
@@ -1,3 +1,3 @@
1
1
  module WorkflowManager
2
- VERSION = "0.2.8"
2
+ VERSION = "0.2.9"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: workflow_manager
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.8
5
+ version: 0.2.9
6
6
  platform: ruby
7
7
  authors:
8
8
  - Functional Genomics Center Zurich