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
9f0cd750
Commit
9f0cd750
authored
Sep 07, 2007
by
Web Admin
Browse files
merge from vega-44-dev
parent
d095755d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/Bio/EnsEMBL/Utils/ConversionSupport.pm
modules/Bio/EnsEMBL/Utils/ConversionSupport.pm
+4
-2
No files found.
modules/Bio/EnsEMBL/Utils/ConversionSupport.pm
View file @
9f0cd750
...
...
@@ -1165,6 +1165,7 @@ sub log {
Arg[1] : String $txt - the warning text to log
Arg[2] : Int $indent - indentation level for log message
Arg[2] : Bool - add a line break before warning if true
Example : my $log = $support->log_filehandle;
$support->log_warning('Log foo.\n', 1);
Description : Logs a message via $self->log and increases the warning counter.
...
...
@@ -1175,8 +1176,9 @@ sub log {
=cut
sub
log_warning
{
my
(
$self
,
$txt
,
$indent
)
=
@_
;
$txt
=
"
\n
WARNING:
"
.
$txt
;
my
(
$self
,
$txt
,
$indent
,
$break
)
=
@_
;
$txt
=
"
WARNING:
"
.
$txt
;
$txt
=
"
\n
$txt
"
if
(
$break
);
$self
->
log
(
$txt
,
$indent
);
$self
->
{'
_warnings
'}
++
;
return
(
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