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
9c3b98e9
Commit
9c3b98e9
authored
Nov 14, 2019
by
Matthieu Muffato
Browse files
Added documentation
parent
dbe1dc20
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
0 deletions
+22
-0
modules/Bio/EnsEMBL/Hive/AnalysisJob.pm
modules/Bio/EnsEMBL/Hive/AnalysisJob.pm
+10
-0
modules/Bio/EnsEMBL/Hive/Attempt.pm
modules/Bio/EnsEMBL/Hive/Attempt.pm
+3
-0
modules/Bio/EnsEMBL/Hive/DBSQL/LogMessageAdaptor.pm
modules/Bio/EnsEMBL/Hive/DBSQL/LogMessageAdaptor.pm
+9
-0
No files found.
modules/Bio/EnsEMBL/Hive/AnalysisJob.pm
View file @
9c3b98e9
...
...
@@ -154,6 +154,16 @@ sub autoflow {
}
=head2 create_new_attempt
Title : create_new_attempt
Function: Create a new attempt for the given role on this job. If a database is
available (i.e. the job has an adaptor) the attempt will be stored and
and the job linked to it
Returns : Bio::EnsEMBL::Hive::Attempt
=cut
sub
create_new_attempt
{
my
(
$self
,
$role
)
=
@_
;
...
...
modules/Bio/EnsEMBL/Hive/Attempt.pm
View file @
9c3b98e9
...
...
@@ -8,6 +8,9 @@
An object to describe an attempt of a job.
It is stored in its own table (attempt) indexed by a dbID, and is thus Storable
In this model, a job (AnalysisJob) is the fixed representation of a task, and
an attempt is a runtime instance of this job. A job may still be tried several
times (have multiple attempts) before finally succeeding.
=head1 LICENSE
...
...
modules/Bio/EnsEMBL/Hive/DBSQL/LogMessageAdaptor.pm
View file @
9c3b98e9
...
...
@@ -54,6 +54,15 @@ sub default_table_name {
}
=head2 store_attempt_message
Title : store_attempt_message
Function: Add a new entry to the log_message table, by filling the fields from
the properties of the attempt (identified by its dbID).
Returns : None
=cut
sub
store_attempt_message
{
my
(
$self
,
$attempt_id
,
$msg
,
$message_class
)
=
@_
;
...
...
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