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
Commits
da0c3228
Commit
da0c3228
authored
Jan 06, 2011
by
Eugene Kulesha
Browse files
allow to pass parameters
parent
4b715c21
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
modules/Bio/EnsEMBL/Utils/SeqDumper.pm
modules/Bio/EnsEMBL/Utils/SeqDumper.pm
+5
-1
No files found.
modules/Bio/EnsEMBL/Utils/SeqDumper.pm
View file @
da0c3228
...
@@ -97,7 +97,7 @@ my @COMMENTS =
...
@@ -97,7 +97,7 @@ my @COMMENTS =
=cut
=cut
sub
new
{
sub
new
{
my
(
$caller
,
$slice
)
=
@_
;
my
(
$caller
,
$slice
,
$params
)
=
@_
;
my
$class
=
ref
(
$caller
)
||
$caller
;
my
$class
=
ref
(
$caller
)
||
$caller
;
...
@@ -113,6 +113,10 @@ sub new {
...
@@ -113,6 +113,10 @@ sub new {
my
$self
=
bless
{'
feature_types
'
=>
$feature_types
},
$class
;
my
$self
=
bless
{'
feature_types
'
=>
$feature_types
},
$class
;
foreach
my
$p
(
sort
keys
%
{
$params
||
{}})
{
$self
->
{
$p
}
=
$params
->
{
$p
};
}
return
$self
;
return
$self
;
}
}
...
...
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