Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
76fb3b81
Commit
76fb3b81
authored
Mar 06, 2014
by
Leo Gordon
Browse files
cosmetic: shorten the class name when performing toString()
parent
980fcb4e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
modules/Bio/EnsEMBL/Hive/Analysis.pm
modules/Bio/EnsEMBL/Hive/Analysis.pm
+1
-1
modules/Bio/EnsEMBL/Hive/ResourceClass.pm
modules/Bio/EnsEMBL/Hive/ResourceClass.pm
+1
-1
modules/Bio/EnsEMBL/Hive/ResourceDescription.pm
modules/Bio/EnsEMBL/Hive/ResourceDescription.pm
+1
-1
No files found.
modules/Bio/EnsEMBL/Hive/Analysis.pm
View file @
76fb3b81
...
...
@@ -229,7 +229,7 @@ sub dataflow_rules_collection {
sub
toString
{
my
$self
=
shift
@_
;
return
(
ref
(
$self
)
.
'
:
'
.
join
('
,
',
map
{
$_
.
'
="
'
.
$self
->
$_
()
.
'
"
'
}
qw(dbID logic_name module parameters)
));
return
(
'
Analysis
:
'
.
join
('
,
',
map
{
$_
.
'
="
'
.
$self
->
$_
()
.
'
"
'
}
qw(dbID logic_name module parameters)
));
}
1
;
...
...
modules/Bio/EnsEMBL/Hive/ResourceClass.pm
View file @
76fb3b81
...
...
@@ -55,7 +55,7 @@ sub name {
sub
toString
{
my
$self
=
shift
@_
;
return
(
ref
(
$self
)
.
'
:
'
.
join
('
,
',
map
{
$_
.
'
="
'
.
$self
->
$_
()
.
'
"
'
}
qw(dbID name)
));
return
(
'
ResourceClass
:
'
.
join
('
,
',
map
{
$_
.
'
="
'
.
$self
->
$_
()
.
'
"
'
}
qw(dbID name)
));
}
1
;
...
...
modules/Bio/EnsEMBL/Hive/ResourceDescription.pm
View file @
76fb3b81
...
...
@@ -84,7 +84,7 @@ sub worker_cmd_args {
sub
toString
{
my
$self
=
shift
@_
;
return
(
ref
(
$self
)
.
'
:
'
.
join
('
,
',
map
{
$_
.
'
="
'
.
$self
->
$_
()
.
'
"
'
}
qw(resource_class_id meadow_type submission_cmd_args worker_cmd_args)
));
return
(
'
ResourceDescription
:
'
.
join
('
,
',
map
{
$_
.
'
="
'
.
$self
->
$_
()
.
'
"
'
}
qw(resource_class_id meadow_type submission_cmd_args worker_cmd_args)
));
}
1
;
...
...
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