Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ensembl-hive
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
7
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
ensembl-hive
Commits
1dc5459b
Commit
1dc5459b
authored
15 years ago
by
Leo Gordon
Browse files
Options
Downloads
Patches
Plain Diff
less dependency on non-defined rc_xparams
parent
7d55c42a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scripts/beekeeper.pl
+1
-1
1 addition, 1 deletion
scripts/beekeeper.pl
scripts/init_pipeline.pl
+17
-13
17 additions, 13 deletions
scripts/init_pipeline.pl
with
18 additions
and
14 deletions
scripts/beekeeper.pl
+
1
−
1
View file @
1dc5459b
...
...
@@ -369,7 +369,7 @@ sub run_autonomously {
my
$this_rc_worker_count
=
$rc_hash
->
{
$rc_id
};
print
"
Submitting
$this_rc_worker_count
workers (rc_id=
$rc_id
) to
"
.
$self
->
{'
meadow
'}
->
type
()
.
"
\n
";
$self
->
{'
meadow
'}
->
submit_workers
(
$iteration
,
$worker_cmd
,
$this_rc_worker_count
,
$rc_id
,
$rc_xparams
{
$rc_id
});
$self
->
{'
meadow
'}
->
submit_workers
(
$iteration
,
$worker_cmd
,
$this_rc_worker_count
,
$rc_id
,
$rc_xparams
{
$rc_id
}
||
''
);
}
}
else
{
print
"
Not submitting any workers this iteration
\n
";
...
...
This diff is collapsed.
Click to expand it.
scripts/init_pipeline.pl
+
17
−
13
View file @
1dc5459b
...
...
@@ -42,21 +42,25 @@ sub main {
my
$hive_dba
=
new
Bio::EnsEMBL::Hive::DBSQL::
DBAdaptor
(
%
{
$self
->
{
-
pipeline_db
}});
my
$resource_description_adaptor
=
$hive_dba
->
get_ResourceDescriptionAdaptor
;
warn
"
Loading the ResourceDescriptions ...
\n
";
# pre-load the resource_description table with the values that we'll need:
while
(
my
(
$rc_id
,
$mt2param
)
=
each
%
{
$self
->
{
-
resource_classes
}}
)
{
my
$description
=
delete
$mt2param
->
{
-
desc
};
while
(
my
(
$meadow_type
,
$xparams
)
=
each
%$mt2param
)
{
$resource_description_adaptor
->
create_new
(
-
RC_ID
=>
$rc_id
,
-
MEADOW_TYPE
=>
$meadow_type
,
-
PARAMETERS
=>
$xparams
,
-
DESCRIPTION
=>
$description
,
);
# pre-load the resource_description table
if
(
$self
->
{
-
resource_classes
})
{
warn
"
Loading the ResourceDescriptions ...
\n
";
while
(
my
(
$rc_id
,
$mt2param
)
=
each
%
{
$self
->
{
-
resource_classes
}}
)
{
my
$description
=
delete
$mt2param
->
{
-
desc
};
while
(
my
(
$meadow_type
,
$xparams
)
=
each
%$mt2param
)
{
$resource_description_adaptor
->
create_new
(
-
RC_ID
=>
$rc_id
,
-
MEADOW_TYPE
=>
$meadow_type
,
-
PARAMETERS
=>
$xparams
,
-
DESCRIPTION
=>
$description
,
);
}
}
warn
"
Done.
\n\n
";
}
warn
"
Done.
\n\n
";
my
$analysis_adaptor
=
$hive_dba
->
get_AnalysisAdaptor
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment