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
fe27e033
Commit
fe27e033
authored
Jun 08, 2004
by
Jessica Severin
Browse files
added mode where it looks in the meta table for the hive_output
directory if one isn't specified
parent
fc3220b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
scripts/runWorker.pl
scripts/runWorker.pl
+8
-1
No files found.
scripts/runWorker.pl
View file @
fe27e033
...
...
@@ -19,7 +19,7 @@ $self->{'db_conf'}->{'-user'} = 'ensro';
$self
->
{'
db_conf
'}
->
{'
-port
'}
=
3306
;
$self
->
{'
analysis_id
'}
=
undef
;
$self
->
{'
outdir
'}
=
"
/ecs4/work2/ensembl/jessica/data/hive-output
"
;
$self
->
{'
outdir
'}
=
undef
;
my
$conf_file
;
my
(
$help
,
$host
,
$user
,
$pass
,
$dbname
,
$port
,
$adaptor
);
...
...
@@ -71,6 +71,13 @@ my $worker = $queen->create_new_worker($self->{'analysis_id'});
die
("
couldn't create worker for analysis_id
"
.
$self
->
{'
analysis_id
'}
.
"
\n
")
unless
(
$worker
);
if
(
$self
->
{'
outdir
'})
{
$worker
->
output_dir
(
$self
->
{'
outdir
'});
}
else
{
my
$arrRef
=
$DBA
->
get_MetaContainer
->
list_value_by_key
(
'
hive_output
'
);
if
(
@$arrRef
)
{
$worker
->
output_dir
(
$arrRef
->
[
0
]);
}
}
if
(
$self
->
{'
job_limit
'})
{
$worker
->
job_limit
(
$self
->
{'
job_limit
'});
$worker
->
life_span
(
0
);
...
...
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