rbbt-util 5.21.17 → 5.21.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rbbt/workflow/step/run.rb +14 -3
- metadata +63 -63
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c722ae1fd02431a1b5cbe726b12d8cd2af4e8871
|
4
|
+
data.tar.gz: ea254aa679c034bf5294f9f80f7d430d95c6058b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c76e07f15de03b2e49b5d21c04cdb358026a957b80ab1973ac4cd389b646fec1140806eb92598a9f6a66e0ada631ef6e41e58e376104ea5954e44b8c4479854
|
7
|
+
data.tar.gz: 8d7a4dec88f3f42f513e9ea1a009d4911f1e98548696e213c878da217fafd8bed1f56b297f472803fc2e13b70ab5cdff5618ced5ad0a6b6c19055015d62d7166
|
@@ -363,13 +363,17 @@ class Step
|
|
363
363
|
stream = @result if IO === @result
|
364
364
|
@saved_stream = nil
|
365
365
|
if stream and stream.respond_to? :abort and not stream.aborted?
|
366
|
+
doretry = true
|
366
367
|
begin
|
367
368
|
Log.medium "Aborting job stream #{stream.inspect} -- #{Log.color :blue, path}"
|
368
369
|
stream.abort
|
369
370
|
rescue Aborted, Interrupt
|
370
371
|
Log.medium "Aborting job stream #{stream.inspect} ABORTED RETRY -- #{Log.color :blue, path}"
|
371
372
|
Log.exception $!
|
372
|
-
|
373
|
+
if doretry
|
374
|
+
doretry = false
|
375
|
+
retry
|
376
|
+
end
|
373
377
|
end
|
374
378
|
end
|
375
379
|
end
|
@@ -389,6 +393,7 @@ class Step
|
|
389
393
|
return if @aborted
|
390
394
|
@aborted = true
|
391
395
|
Log.medium{"#{Log.color :red, "Aborting"} #{Log.color :blue, path}"}
|
396
|
+
doretry = true
|
392
397
|
begin
|
393
398
|
return if done?
|
394
399
|
stop_dependencies
|
@@ -396,10 +401,16 @@ class Step
|
|
396
401
|
abort_pid if running?
|
397
402
|
rescue Aborted, Interrupt
|
398
403
|
Log.medium{"#{Log.color :red, "Aborting ABORTED RETRY"} #{Log.color :blue, path}"}
|
399
|
-
|
404
|
+
if doretry
|
405
|
+
doretry = false
|
406
|
+
retry
|
407
|
+
end
|
400
408
|
rescue Exception
|
401
409
|
Log.exception $!
|
402
|
-
|
410
|
+
if doretry
|
411
|
+
doretry = false
|
412
|
+
retry
|
413
|
+
end
|
403
414
|
ensure
|
404
415
|
_clean_finished
|
405
416
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbbt-util
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.21.
|
4
|
+
version: 5.21.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Vazquez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -486,82 +486,82 @@ signing_key:
|
|
486
486
|
specification_version: 4
|
487
487
|
summary: Utilities for the Ruby Bioinformatics Toolkit (rbbt)
|
488
488
|
test_files:
|
489
|
-
- test/
|
489
|
+
- test/rbbt/test_workflow.rb
|
490
490
|
- test/rbbt/resource/test_path.rb
|
491
|
-
- test/rbbt/association/test_item.rb
|
492
|
-
- test/rbbt/association/test_database.rb
|
493
|
-
- test/rbbt/association/test_open.rb
|
494
|
-
- test/rbbt/association/test_index.rb
|
495
|
-
- test/rbbt/association/test_util.rb
|
496
|
-
- test/rbbt/util/test_concurrency.rb
|
497
|
-
- test/rbbt/util/test_log.rb
|
498
|
-
- test/rbbt/util/test_chain_methods.rb
|
499
|
-
- test/rbbt/util/test_simpleopt.rb
|
500
|
-
- test/rbbt/util/simpleopt/test_parse.rb
|
501
|
-
- test/rbbt/util/simpleopt/test_get.rb
|
502
|
-
- test/rbbt/util/simpleopt/test_setup.rb
|
503
491
|
- test/rbbt/util/test_cmd.rb
|
504
|
-
- test/rbbt/util/
|
505
|
-
- test/rbbt/util/
|
506
|
-
- test/rbbt/util/
|
507
|
-
- test/rbbt/util/
|
508
|
-
- test/rbbt/util/test_tmpfile.rb
|
509
|
-
- test/rbbt/util/test_open.rb
|
510
|
-
- test/rbbt/util/test_filecache.rb
|
511
|
-
- test/rbbt/util/R/test_eval.rb
|
512
|
-
- test/rbbt/util/R/test_model.rb
|
492
|
+
- test/rbbt/util/simpleopt/test_setup.rb
|
493
|
+
- test/rbbt/util/simpleopt/test_get.rb
|
494
|
+
- test/rbbt/util/simpleopt/test_parse.rb
|
495
|
+
- test/rbbt/util/test_chain_methods.rb
|
513
496
|
- test/rbbt/util/test_simpleDSL.rb
|
514
|
-
- test/rbbt/util/
|
515
|
-
- test/rbbt/util/
|
516
|
-
- test/rbbt/util/test_R.rb
|
497
|
+
- test/rbbt/util/test_log.rb
|
498
|
+
- test/rbbt/util/test_open.rb
|
517
499
|
- test/rbbt/util/misc/test_lock.rb
|
518
|
-
- test/rbbt/util/misc/
|
500
|
+
- test/rbbt/util/misc/test_multipart_payload.rb
|
519
501
|
- test/rbbt/util/misc/test_bgzf.rb
|
502
|
+
- test/rbbt/util/misc/test_pipes.rb
|
520
503
|
- test/rbbt/util/misc/test_omics.rb
|
521
|
-
- test/rbbt/util/
|
504
|
+
- test/rbbt/util/test_concurrency.rb
|
505
|
+
- test/rbbt/util/test_R.rb
|
506
|
+
- test/rbbt/util/log/test_progress.rb
|
507
|
+
- test/rbbt/util/test_colorize.rb
|
508
|
+
- test/rbbt/util/test_simpleopt.rb
|
522
509
|
- test/rbbt/util/test_excel2tsv.rb
|
510
|
+
- test/rbbt/util/test_filecache.rb
|
511
|
+
- test/rbbt/util/concurrency/test_processes.rb
|
512
|
+
- test/rbbt/util/concurrency/test_threads.rb
|
513
|
+
- test/rbbt/util/concurrency/processes/test_socket.rb
|
514
|
+
- test/rbbt/util/test_semaphore.rb
|
523
515
|
- test/rbbt/util/test_misc.rb
|
516
|
+
- test/rbbt/util/test_tmpfile.rb
|
517
|
+
- test/rbbt/util/R/test_model.rb
|
518
|
+
- test/rbbt/util/R/test_eval.rb
|
519
|
+
- test/rbbt/test_packed_index.rb
|
520
|
+
- test/rbbt/entity/test_identifiers.rb
|
521
|
+
- test/rbbt/test_association.rb
|
522
|
+
- test/rbbt/knowledge_base/test_traverse.rb
|
523
|
+
- test/rbbt/knowledge_base/test_registry.rb
|
524
|
+
- test/rbbt/knowledge_base/test_entity.rb
|
525
|
+
- test/rbbt/knowledge_base/test_enrichment.rb
|
526
|
+
- test/rbbt/knowledge_base/test_syndicate.rb
|
527
|
+
- test/rbbt/knowledge_base/test_query.rb
|
528
|
+
- test/rbbt/test_resource.rb
|
524
529
|
- test/rbbt/test_entity.rb
|
530
|
+
- test/rbbt/test_knowledge_base.rb
|
531
|
+
- test/rbbt/annotations/test_util.rb
|
532
|
+
- test/rbbt/association/test_index.rb
|
533
|
+
- test/rbbt/association/test_item.rb
|
534
|
+
- test/rbbt/association/test_open.rb
|
535
|
+
- test/rbbt/association/test_util.rb
|
536
|
+
- test/rbbt/association/test_database.rb
|
537
|
+
- test/rbbt/test_tsv.rb
|
525
538
|
- test/rbbt/workflow/step/test_dependencies.rb
|
526
|
-
- test/rbbt/workflow/test_doc.rb
|
527
|
-
- test/rbbt/workflow/test_step.rb
|
528
539
|
- test/rbbt/workflow/test_task.rb
|
529
|
-
- test/rbbt/
|
530
|
-
- test/rbbt/
|
531
|
-
- test/rbbt/
|
532
|
-
- test/rbbt/
|
540
|
+
- test/rbbt/workflow/test_step.rb
|
541
|
+
- test/rbbt/workflow/test_doc.rb
|
542
|
+
- test/rbbt/test_monitor.rb
|
543
|
+
- test/rbbt/test_persist.rb
|
544
|
+
- test/rbbt/test_annotations.rb
|
545
|
+
- test/rbbt/persist/test_tsv.rb
|
546
|
+
- test/rbbt/persist/tsv/test_lmdb.rb
|
547
|
+
- test/rbbt/persist/tsv/test_kyotocabinet.rb
|
548
|
+
- test/rbbt/persist/tsv/test_sharder.rb
|
549
|
+
- test/rbbt/persist/tsv/test_cdb.rb
|
550
|
+
- test/rbbt/persist/tsv/test_tokyocabinet.rb
|
551
|
+
- test/rbbt/persist/tsv/test_leveldb.rb
|
552
|
+
- test/rbbt/tsv/test_field_index.rb
|
533
553
|
- test/rbbt/tsv/test_parallel.rb
|
534
|
-
- test/rbbt/tsv/
|
554
|
+
- test/rbbt/tsv/test_index.rb
|
555
|
+
- test/rbbt/tsv/test_matrix.rb
|
535
556
|
- test/rbbt/tsv/test_change_id.rb
|
557
|
+
- test/rbbt/tsv/test_parser.rb
|
536
558
|
- test/rbbt/tsv/test_stream.rb
|
559
|
+
- test/rbbt/tsv/test_util.rb
|
560
|
+
- test/rbbt/tsv/test_accessor.rb
|
537
561
|
- test/rbbt/tsv/test_filter.rb
|
538
|
-
- test/rbbt/tsv/test_matrix.rb
|
539
562
|
- test/rbbt/tsv/test_attach.rb
|
540
563
|
- test/rbbt/tsv/test_manipulate.rb
|
541
|
-
- test/rbbt/tsv/
|
542
|
-
- test/rbbt/tsv/
|
543
|
-
- test/rbbt/tsv/test_util.rb
|
544
|
-
- test/rbbt/tsv/test_parser.rb
|
545
|
-
- test/rbbt/test_packed_index.rb
|
546
|
-
- test/rbbt/test_persist.rb
|
564
|
+
- test/rbbt/tsv/parallel/test_through.rb
|
565
|
+
- test/rbbt/tsv/parallel/test_traverse.rb
|
547
566
|
- test/rbbt/test_fix_width_table.rb
|
548
|
-
- test/
|
549
|
-
- test/rbbt/knowledge_base/test_entity.rb
|
550
|
-
- test/rbbt/knowledge_base/test_query.rb
|
551
|
-
- test/rbbt/knowledge_base/test_enrichment.rb
|
552
|
-
- test/rbbt/knowledge_base/test_syndicate.rb
|
553
|
-
- test/rbbt/knowledge_base/test_registry.rb
|
554
|
-
- test/rbbt/entity/test_identifiers.rb
|
555
|
-
- test/rbbt/test_monitor.rb
|
556
|
-
- test/rbbt/test_workflow.rb
|
557
|
-
- test/rbbt/test_annotations.rb
|
558
|
-
- test/rbbt/annotations/test_util.rb
|
559
|
-
- test/rbbt/test_resource.rb
|
560
|
-
- test/rbbt/persist/tsv/test_tokyocabinet.rb
|
561
|
-
- test/rbbt/persist/tsv/test_kyotocabinet.rb
|
562
|
-
- test/rbbt/persist/tsv/test_lmdb.rb
|
563
|
-
- test/rbbt/persist/tsv/test_leveldb.rb
|
564
|
-
- test/rbbt/persist/tsv/test_cdb.rb
|
565
|
-
- test/rbbt/persist/tsv/test_sharder.rb
|
566
|
-
- test/rbbt/persist/test_tsv.rb
|
567
|
-
- test/rbbt/test_tsv.rb
|
567
|
+
- test/test_helper.rb
|