rbbt-util 5.26.23 → 5.26.24

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 392dc23c901774799ca2a7ae48d2389ca0648a0a2697b9bb148716fbde261d2c
4
- data.tar.gz: e1f4012362a981c227ffc6ed1351b78ad42be88fb2b3d2f6c1b3ca9fe252e970
3
+ metadata.gz: dfe084c470f00ffc208f85382277a1be318bfa42e2ee2e5f0fca9355f79f2eef
4
+ data.tar.gz: 5e454f196a01ea3ed6d0e21f399d822bb60d032673f4f37cce0db4846ac328a2
5
5
  SHA512:
6
- metadata.gz: 98a8e00162cf7e05d6745e7efc3dc36f572e47857cc38dd03939c715596d5de3e136d7dfd6ffb34095fcb567bb4d3f3454b07211b98bb16f25094610b3d2ed6f
7
- data.tar.gz: 680214e1501429422bddbfc5d67f8ba8d4f58238406a65f0c2a35a731fe956f806fbb17dfbce434a0df75c6f32bc4a8d045ac657afeec5c63f2edb62777777ac
6
+ metadata.gz: 98ae2168074363d9a2a738fe5c7bcc5456316a5224a99da469279948f5e123da69e51787ace463492329183445407b0ba7c785323216bb68667c30a8b24da229
7
+ data.tar.gz: 75ef4adda1448533e5354a8677a4922e206e68c48e1f607fcfb4e3af30b7d2d709cb4043264fa1e9774419663d726c6e148d27dfb22dfbfe9c9f08056bb73582
data/lib/rbbt/tsv/util.rb CHANGED
@@ -74,7 +74,7 @@ module TSV
74
74
  else
75
75
  stream = get_stream(file)
76
76
  stream.abort(exception) if stream.respond_to? :abort
77
- AbortedStream.setup(stream, exception)
77
+ AbortedStream.setup(stream, exception) unless stream.respond_to?(:exception) && stream.exception
78
78
  end
79
79
  end
80
80
 
data/lib/rbbt/util/log.rb CHANGED
@@ -261,7 +261,7 @@ module Log
261
261
  color = :green if line =~ /workflow/
262
262
  color = :blue if line =~ /rbbt-/
263
263
  Log.color color, line
264
- end
264
+ end unless stack.nil?
265
265
  end
266
266
 
267
267
  def self.tsv(tsv)
@@ -28,5 +28,5 @@ SOPT.usage if options[:help]
28
28
 
29
29
  target, *files = ARGV
30
30
 
31
- raise "Target already exists: #{ target }" if File.exists?(target) and not File.directory(target)
31
+ raise "Target already exists: #{ target }" if File.exists?(target) and not File.directory?(target)
32
32
  Step.archive(files, target)
@@ -161,12 +161,14 @@ available. Examples can be enacted using `rbbt workflow example <workflow>
161
161
 
162
162
  When a task is enacted a job is instantiated. This job is identified by the
163
163
  `jobname` (which is *Default* unless specified otherwise) and the values of the
164
- parameters. If the same taks is enacted using the same `jobname` and
165
- parameters, then the same job will be the same.
166
-
167
- The first time a job is executed it will save the result. Once the job is done
168
- you can re-doit using the `clean` parameter. The `recursive_clean` cleans all
169
- the job dependencies recursively.
164
+ parameters; these two things determine the filename under which the job result
165
+ will be saved. If the taks is enacted using the same `jobname` and parameters
166
+ it will result in the same job, pointing to the same result file.
167
+
168
+ The first time a job is executed it will save the result. The saved result will
169
+ be returned directly if the same task is re-enacted. Once the job is done you
170
+ can redo it using the `clean` parameter, this cleans the last step of the task.
171
+ The `recursive_clean` cleans all the job dependency steps recursively.
170
172
 
171
173
  -h--help Show this help
172
174
  -wd--workdir* Change the working directory of the workflow
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.26.23
4
+ version: 5.26.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Vazquez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-25 00:00:00.000000000 Z
11
+ date: 2019-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake