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.
- data/lib/workflow_manager/server.rb +4 -3
- data/lib/workflow_manager/version.rb +1 -1
- metadata +1 -1
|
@@ -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
|
|
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
|