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
93da7196
Commit
93da7196
authored
Jan 28, 2014
by
Leo Gordon
Browse files
let Job.input_id stringify itself
parent
7ab1f0cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
modules/Bio/EnsEMBL/Hive/AnalysisJob.pm
modules/Bio/EnsEMBL/Hive/AnalysisJob.pm
+6
-2
No files found.
modules/Bio/EnsEMBL/Hive/AnalysisJob.pm
View file @
93da7196
...
...
@@ -40,7 +40,7 @@ use strict;
use
Bio::EnsEMBL::Utils::
Argument
('
rearrange
');
use
Bio::EnsEMBL::Hive::
Utils
('
destringify
');
use
Bio::EnsEMBL::Hive::
Utils
(
'
stringify
',
'
destringify
');
use
Bio::EnsEMBL::Hive::DBSQL::
AnalysisJobAdaptor
;
use
Bio::EnsEMBL::Hive::DBSQL::
DataflowRuleAdaptor
;
...
...
@@ -89,7 +89,11 @@ sub analysis_id {
sub
input_id
{
my
$self
=
shift
;
$self
->
{'
_input_id
'}
=
shift
if
(
@
_
);
if
(
@
_
)
{
my
$input_id
=
shift
@_
;
$self
->
{'
_input_id
'}
=
ref
(
$input_id
)
?
stringify
(
$input_id
)
:
$input_id
;
}
return
$self
->
{'
_input_id
'};
}
...
...
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