rbbt-util 5.34.21 → 5.34.23
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51ed402e4c2d6b490947a3b78fb4ed1db76019b6df756e089a769c64015c0d51
|
4
|
+
data.tar.gz: 649b91828b6df949ef804cd67e3c15e6832cb69c5b5f62b4a7603c6960d57d28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41eb5ddfbe457fa8bcbd870bc36f70df129722feabe1d6fdd5c5439a699a4daa0e4c27290b1ecb5c7f8f07c5f954de71e014fa42e413a699e376145a501a92a0
|
7
|
+
data.tar.gz: bdbf092938b4e176c1262ff3b856374be942a6bafd87a024efe46b949942640002043aadfbda8f56fae5e3ea8685ca25564bffec4e3a3f24c5f7ea2aa4bbbfb8
|
@@ -72,9 +72,7 @@ module Workflow
|
|
72
72
|
def setup_override_dependency(dep, workflow, task_name)
|
73
73
|
return [] if dep == :skip || dep == 'skip'
|
74
74
|
|
75
|
-
if Step === dep
|
76
|
-
dep = dep.load
|
77
|
-
else
|
75
|
+
if not Step === dep
|
78
76
|
located = Open.exists?(dep)
|
79
77
|
dep = Workflow.load_step(dep)
|
80
78
|
end
|
@@ -96,7 +96,12 @@ module Workflow
|
|
96
96
|
Log.debug "Opening tsv #{ input } from #{file}"
|
97
97
|
inputs[input.to_sym] = TSV.open(file)
|
98
98
|
when :boolean
|
99
|
-
|
99
|
+
case file.read.strip.downcase
|
100
|
+
when 'true'
|
101
|
+
inputs[input.to_sym] = true
|
102
|
+
when 'false'
|
103
|
+
inputs[input.to_sym] = false
|
104
|
+
end
|
100
105
|
when :integer
|
101
106
|
inputs[input.to_sym] = file.read.to_i
|
102
107
|
when :float
|
@@ -106,7 +106,7 @@ options = SOPT.get <<EOF
|
|
106
106
|
-as--array_separator* Change the character that separates elements of Arrays, ',', '|', or '\\n' by default:
|
107
107
|
-cl--clean Clean the last step of the job so that it gets recomputed:
|
108
108
|
-rcl--recursive_clean Clean the last step and its dependencies to recompute the job completely:
|
109
|
-
-n--name* Job name to use. The name '
|
109
|
+
-n--name* Job name to use. The name '#{Workflow::DEFAULT_NAME}' is used by default:
|
110
110
|
-pn--printname Print the name of the job and exit without starting it:
|
111
111
|
-rw--require_workflow* Workflows to require, separated by commas
|
112
112
|
EOF
|
@@ -155,7 +155,7 @@ end
|
|
155
155
|
|
156
156
|
usage workflow, task if help
|
157
157
|
|
158
|
-
name = options.delete(:name) ||
|
158
|
+
name = options.delete(:name) || Workflow::DEFAULT_NAME
|
159
159
|
|
160
160
|
# get job args
|
161
161
|
sopt_option_string = SOPT_options(workflow, task)
|
@@ -178,7 +178,7 @@ available. Examples can be enacted using `rbbt workflow example <workflow>
|
|
178
178
|
[<task>] [<example>]`.
|
179
179
|
|
180
180
|
When a task is enacted a job is instantiated. This job is identified by the
|
181
|
-
`jobname` (which is *
|
181
|
+
`jobname` (which is *#{Workflow::DEFAULT_NAME}* unless specified otherwise) and the values of the
|
182
182
|
parameters; these two things determine the filename under which the job result
|
183
183
|
will be saved. If the taks is enacted using the same `jobname` and parameters
|
184
184
|
it will result in the same job, pointing to the same result file.
|
@@ -194,7 +194,7 @@ The `recursive_clean` cleans all the job dependency steps recursively.
|
|
194
194
|
-wda--workdir_all* Change the working directory of ALL workflow
|
195
195
|
-as--array_separator* Change the character that separates elements of Arrays, ',', '|', or '\\n' by default
|
196
196
|
-fs--field_separator* Change the character that separates fields of TSV files '\\t' by default
|
197
|
-
-jn--jobname* Job name to use. The name '
|
197
|
+
-jn--jobname* Job name to use. The name '#{Workflow::DEFAULT_NAME}' is used by default
|
198
198
|
-pn--printname Print the name of the job and exit without starting it
|
199
199
|
-pf--printpath Print the path of the job result
|
200
200
|
-cl--clean Clean the last step of the job so that it gets recomputed
|
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.34.
|
4
|
+
version: 5.34.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Vazquez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|