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-otter
Commits
bedd9888
Unverified
Commit
bedd9888
authored
Sep 30, 2022
by
Shashank Budhanuru Ramaraju
Committed by
GitHub
Sep 30, 2022
Browse files
Merge pull request #163 from Ensembl/dev/otf-error-msg
Change error message when sequence not found
parents
8d338b95
38b6a70b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
modules/Bio/Otter/Lace/OnTheFly/QueryValidator.pm
modules/Bio/Otter/Lace/OnTheFly/QueryValidator.pm
+7
-1
No files found.
modules/Bio/Otter/Lace/OnTheFly/QueryValidator.pm
View file @
bedd9888
...
...
@@ -268,7 +268,13 @@ sub _fetch_sequences {
$seq
->
type
(
$type
);
$seq
->
name
(
$acc
);
}
else
{
$self
->
_add_missing_warning
(
$acc
,
"
unknown accession or illegal evidence type
");
if
(
$seq_type
eq
'
dna
')
{
$self
->
_add_missing_warning
(
$acc
,
"
No sequence fetched from DNA database, Would you try Protein sequence type to fetch from Protein database ?
");
}
elsif
(
$seq_type
eq
'
protein
')
{
$self
->
_add_missing_warning
(
$acc
,
"
No sequence fetched from Protein database, Would you try DNA sequence type to fetch from DNA database ?
");
}
else
{
$self
->
_add_missing_warning
(
$acc
,
"
unknown accession or illegal evidence type
");
}
}
# my ($type, $full) = @{$self->_acc_type_full($acc)};
...
...
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