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
Commits
e01d4134
Commit
e01d4134
authored
Feb 10, 2011
by
Maurice Hendrix
Browse files
merged previous chenge into latest version on this branch
parent
75e4b1c6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
modules/Bio/EnsEMBL/Utils/ConversionSupport.pm
modules/Bio/EnsEMBL/Utils/ConversionSupport.pm
+15
-1
No files found.
modules/Bio/EnsEMBL/Utils/ConversionSupport.pm
View file @
e01d4134
...
...
@@ -155,8 +155,22 @@ sub parse_common_options {
warning
("
Unable to open configuration file
$conffile
for reading: $!
");
}
# override configured parameter with commandline options
# override configured parameter with commandline options
map
{
$self
->
param
(
$_
,
$h
{
$_
})
}
keys
%h
;
# if logpath & logfile are not se, set them here to /ensemblweb/vega_dev/shared/logs/conversion/DBNAME/SCRIPNAME_NN.log
if
(
not
(
defined
(
$self
->
param
('
logpath
')))){
$self
->
param
('
logpath
',
"
/ensemblweb/vega_dev/shared/logs/conversion/
"
.
$self
->
param
('
dbname
')
.
"
/
"
);
}
if
(
not
(
defined
(
$self
->
param
('
logfile
')))){
my
$log
=
$Script
;
$log
=~
s/.pl//g
;
my
$counter
;
for
(
$counter
=
1
;
(
-
e
$self
->
param
('
logpath
')
.
"
/
"
.
$log
.
"
_
"
.
sprintf
("
%03d
",
$counter
)
.
"
.log
");
$counter
++
){
warn
$self
->
param
('
logpath
')
.
"
/
"
.
$log
.
"
_
"
.
$counter
.
"
.log
";}
$self
->
param
('
logfile
',
$log
.
"
_
"
.
sprintf
("
%03d
",
$counter
)
.
"
.log
");
}
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