Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
9dae754c
Commit
9dae754c
authored
Feb 16, 2010
by
Leo Gordon
Browse files
more flexibility (analysis may have been created already)
parent
0ddaed4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
modules/Bio/EnsEMBL/Hive/RunnableDB/JobFactory.pm
modules/Bio/EnsEMBL/Hive/RunnableDB/JobFactory.pm
+5
-1
No files found.
modules/Bio/EnsEMBL/Hive/RunnableDB/JobFactory.pm
View file @
9dae754c
...
...
@@ -78,7 +78,7 @@ sub run {
my
$self
=
shift
@_
;
my
$logic_name
=
$self
->
param
('
logic_name
')
||
die
"
'logic_name' is an obligatory parameter
";
my
$module
=
$self
->
param
('
module
')
||
die
"
'module' is an obligatory parameter
";
my
$module
=
$self
->
param
('
module
')
||
'';
# will only become obligatory if $logic_name does not exist
my
$parameters
=
$self
->
param
('
parameters
')
||
{};
my
$batch_size
=
$self
->
param
('
batch_size
')
||
undef
;
my
$hive_capacity
=
$self
->
param
('
hive_capacity
')
||
undef
;
...
...
@@ -119,6 +119,10 @@ sub write_output { # and we have nothing to write out
sub
create_analysis_object
{
my
(
$self
,
$logic_name
,
$module
,
$parameters
,
$batch_size
,
$hive_capacity
)
=
@_
;
unless
(
$module
)
{
die
"
Since '
$logic_name
' didn't exist, 'module' becomes an obligatory parameter
";
}
my
$dba
=
$self
->
db
;
$
Data::Dumper::
Indent
=
0
;
# we want everything on one line
...
...
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