rbbt-util 5.34.21 → 5.34.22

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: 7d6cd028bf0803b71e0abdbd53b5f1dc1f1495f3b3fce7f3d3d9550b824816dc
4
- data.tar.gz: 8479aabccee8d49ba733c297e6e5ffb5751b6544eaea3f09a5cb5655090a9082
3
+ metadata.gz: 40183cfe120bb6545a1bb59f150bb3cac9426ce018d18485afdbf0c8f1de92b2
4
+ data.tar.gz: fd625b45572be4a158bc9f08007225e284659ec9ef26fbe66a2e9ae7fb84ce9f
5
5
  SHA512:
6
- metadata.gz: ca686195461a9cdc3b13337aaffa8bf816ce6935692db0610e588d6ebe00f7ed2f8c48c6ee7ed1b7574242d4f4dabe789ed6ec350eb6b29114c68cc4eab51267
7
- data.tar.gz: 9fa7c8a4de4b514f66c92f5dac30e8e9473452c9f4b2fd0ceeef2b022f10eb740c762b62f343ca2562374b0d13e0c29acb561fc101fcf7af1b67733d9c95f149
6
+ metadata.gz: f9f2a5ee2e22b84c8bce0f0da023a39cb917a8210ab1c9a4daca7d67902134221fd671da62ca19a2ce02fb06049ea00f4a8a282a1906235f91380d936240b987
7
+ data.tar.gz: 5124409cb58db3eea7029042ec8671e13075bd814b40a25a905a56ccc52ae660e9981f3146f8a2ecaad2c122ea6edea1ea8b4c7d1a1191a58621c797f317577c
@@ -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 ! Step === dep
78
76
  located = Open.exists?(dep)
79
77
  dep = Workflow.load_step(dep)
80
78
  end
@@ -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 'Default' is used by default:
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) || "Default"
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 *Default* unless specified otherwise) and the values of the
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 'Default' is used by default
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbbt-util
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.34.21
4
+ version: 5.34.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Vazquez