Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
a28ef353
Commit
a28ef353
authored
Mar 18, 2014
by
Leo Gordon
Browse files
do not require connection parameters when drawing a diagram from a -pipeconfig
parent
a1fa4ae0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
modules/Bio/EnsEMBL/Hive/PipeConfig/HiveGeneric_conf.pm
modules/Bio/EnsEMBL/Hive/PipeConfig/HiveGeneric_conf.pm
+7
-2
scripts/generate_graph.pl
scripts/generate_graph.pl
+1
-1
scripts/init_pipeline.pl
scripts/init_pipeline.pl
+1
-1
No files found.
modules/Bio/EnsEMBL/Hive/PipeConfig/HiveGeneric_conf.pm
View file @
a28ef353
...
...
@@ -402,13 +402,18 @@ sub pipeline_name {
=cut
sub
process_options
{
my
$self
=
shift
@_
;
my
(
$self
,
$include_pcc_use_case
)
=
@_
;
# pre-patch definitely_used_options:
$self
->
{'
_extra_options
'}
=
$self
->
load_cmdline_options
(
$self
->
pre_options
()
);
$self
->
root
()
->
{'
pipeline_url
'}
=
$self
->
{'
_extra_options
'}{'
pipeline_url
'};
$self
->
use_cases
(
[
'
pipeline_create_commands
',
'
pipeline_wide_parameters
',
'
resource_classes
',
'
pipeline_analyses
',
'
beekeeper_extra_cmdline_options
',
'
pipeline_url
',
'
hive_meta_table
'
]
);
my
@use_cases
=
(
'
pipeline_wide_parameters
',
'
resource_classes
',
'
pipeline_analyses
',
'
beekeeper_extra_cmdline_options
',
'
hive_meta_table
'
);
if
(
$include_pcc_use_case
)
{
unshift
@use_cases
,
'
pipeline_create_commands
';
}
$self
->
use_cases
(
\
@use_cases
);
return
$self
->
SUPER::
process_options
();
}
...
...
scripts/generate_graph.pl
View file @
a28ef353
...
...
@@ -79,7 +79,7 @@ sub main {
my
$pipeconfig_package_name
=
load_file_or_module
(
$self
->
{'
pipeconfig
'}
);
my
$pipeconfig_object
=
$pipeconfig_package_name
->
new
();
$pipeconfig_object
->
process_options
();
$pipeconfig_object
->
process_options
(
0
);
$pipeconfig_object
->
add_objects_from_config
();
}
...
...
scripts/init_pipeline.pl
View file @
a28ef353
...
...
@@ -40,7 +40,7 @@ sub main {
my
$pipeconfig_package_name
=
load_file_or_module
(
$file_or_module
);
my
$pipeconfig_object
=
$pipeconfig_package_name
->
new
();
$pipeconfig_object
->
process_options
();
$pipeconfig_object
->
process_options
(
1
);
$pipeconfig_object
->
run_pipeline_create_commands
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment