Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ensembl
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
1
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
Commits
c81dc6e0
Commit
c81dc6e0
authored
12 years ago
by
Andy Yates
Browse files
Options
Downloads
Patches
Plain Diff
Supporting failed
parent
f3e30504
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/Bio/EnsEMBL/Pipeline/FASTA/EmailSummary.pm
+28
-18
28 additions, 18 deletions
modules/Bio/EnsEMBL/Pipeline/FASTA/EmailSummary.pm
with
28 additions
and
18 deletions
modules/Bio/EnsEMBL/Pipeline/FASTA/EmailSummary.pm
+
28
−
18
View file @
c81dc6e0
...
@@ -17,14 +17,22 @@ sub fetch_input {
...
@@ -17,14 +17,22 @@ sub fetch_input {
# my $blat_sm = $self->jobs('BlatSmDNAIndex', 100);
# my $blat_sm = $self->jobs('BlatSmDNAIndex', 100);
my
@args
=
(
my
@args
=
(
$dump_dna
->
{
count
},
$dump_dna
->
{
successful_jobs
},
$copy_dna
->
{
count
},
$dump_dna
->
{
failed_jobs
},
$dump_genes
->
{
count
},
$copy_dna
->
{
successful_jobs
},
$blast_dna
->
{
count
},
$copy_dna
->
{
failed_jobs
},
$blast_gene
->
{
count
},
$dump_genes
->
{
successful_jobs
},
$blast_pep
->
{
count
},
$dump_genes
->
{
failed_jobs
},
$blat
->
{
count
},
$blast_dna
->
{
successful_jobs
},
# $blat_sm->{count},
$blast_dna
->
{
failed_jobs
},
$blast_gene
->
{
successful_jobs
},
$blast_gene
->
{
failed_jobs
},
$blast_pep
->
{
successful_jobs
},
$blast_pep
->
{
failed_jobs
},
$blat
->
{
successful_jobs
},
$blat
->
{
failed_jobs
},
# $blat_sm->{successful_jobs},
# $blat_sm->{failed_jobs},
$self
->
failed
(),
$self
->
failed
(),
$self
->
summary
(
$dump_dna
),
$self
->
summary
(
$dump_dna
),
$self
->
summary
(
$copy_dna
),
$self
->
summary
(
$copy_dna
),
...
@@ -39,14 +47,14 @@ sub fetch_input {
...
@@ -39,14 +47,14 @@ sub fetch_input {
my
$msg
=
sprintf
(
<<
'
MSG
',
@args
);
my
$msg
=
sprintf
(
<<
'
MSG
',
@args
);
Your
FASTA
Pipeline
has
finished
.
We
have:
Your
FASTA
Pipeline
has
finished
.
We
have:
*
%d
species
with
new
DNA
Dumped
*
%d
species
with
new
DNA
Dumped
(
%d
failed
)
*
%d
species
with
copied
DNA
*
%d
species
with
copied
DNA
(
%d
failed
)
*
%d
species
with
genes
dumped
*
%d
species
with
genes
dumped
(
%d
failed
)
*
%d
species
with
BLAST
DNA
indexes
generated
*
%d
species
with
BLAST
DNA
indexes
generated
(
%d
failed
)
*
%d
species
with
BLAST
GENE
indexes
generated
*
%d
species
with
BLAST
GENE
indexes
generated
(
%d
failed
)
*
%d
species
with
BLAST
PEPTIDE
indexes
generated
*
%d
species
with
BLAST
PEPTIDE
indexes
generated
(
%d
failed
)
*
%d
species
with
BLAT
DNA
generated
*
%d
species
with
BLAT
DNA
generated
(
%d
failed
)
*
d
species
with
BLAT
SM
DNA
generated
*
d
species
with
BLAT
SM
DNA
generated
(
%d
failed
)
%s
%s
...
@@ -99,12 +107,14 @@ sub jobs {
...
@@ -99,12 +107,14 @@ sub jobs {
}
}
}
}
@jobs;
@jobs;
my %unique_species = map { $_->{input}->{species}, 1 } @jobs;
my %passed_species = map { $_->{input}->{species}, 1 } grep { $_->status() eq 'DONE' } @jobs;
my %failed_species = map { $_->{input}->{species}, 1 } grep { $_->status() eq 'FAILED' } @jobs;
return {
return {
analysis => $analysis,
analysis => $analysis,
name => $logic_name,
name => $logic_name,
jobs => \@jobs,
jobs => \@jobs,
count => scalar(keys %unique_species)
successful_jobs => scalar(keys %passed_species),
failed_jobs => scalar(keys %failed_species),
};
};
}
}
...
...
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