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
d1d24b77
Commit
d1d24b77
authored
Jun 05, 2009
by
Ian Longden
Browse files
added to new options reset_to_mapping_finished and reset_to_parsing_finished
parent
78ce1ddd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
misc-scripts/xref_mapping/xref_mapper.pl
misc-scripts/xref_mapping/xref_mapper.pl
+16
-1
No files found.
misc-scripts/xref_mapping/xref_mapper.pl
View file @
d1d24b77
...
...
@@ -29,6 +29,8 @@ my $upload = 0;
my
$nofarm
;
my
$partupdate
;
my
$notverbose
;
my
$reset_to_mapping_finished
;
my
$reset_to_parsing_finished
;
my
$options
=
join
("
",
@ARGV
);
...
...
@@ -39,7 +41,9 @@ GetOptions ('file=s' => \$file,
'
upload
'
=>
\
$upload
,
'
notverbose
'
=>
\
$notverbose
,
'
nofarm
'
=>
\
$nofarm
,
'
partupdate
'
=>
\
$partupdate
,
'
partupdate
'
=>
\
$partupdate
,
'
reset_to_mapping_finished
'
=>
\
$reset_to_mapping_finished
,
'
reset_to_parsing_finished
'
=>
\
$reset_to_parsing_finished
,
'
help
'
=>
sub
{
usage
();
exit
(
0
);
}
);
...
...
@@ -68,6 +72,17 @@ my $status = $mapper->xref_latest_status($mapper->verbose);
print
"
current status is
$status
\n
"
if
(
$mapper
->
verbose
);
if
(
defined
(
$reset_to_mapping_finished
)){
$mapper
->
revert_to_mapping_finished
();
exit
();
}
if
(
defined
(
$reset_to_parsing_finished
)){
$mapper
->
revert_to_parsing_finished
();
exit
();
}
my
$submitter
=
XrefMapper::
SubmitMapper
->
new
(
$mapper
);
if
(
$status
eq
"
parsing_finished
"
or
$status
eq
"
xref_fasta_dumped
"){
...
...
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