Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Carlos Ribas
rnacentral-webcode
Commits
07dbdda6
Commit
07dbdda6
authored
Jul 08, 2021
by
carlosribas
Browse files
Add new warning
parent
970df689
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
rnacentral/portal/static/js/components/text-search/text-search-results/qc-warning-tooltip.html
...s/text-search/text-search-results/qc-warning-tooltip.html
+1
-0
rnacentral/portal/static/js/components/text-search/text-search-results/text-search-results.html
.../text-search/text-search-results/text-search-results.html
+1
-0
No files found.
rnacentral/portal/static/js/components/text-search/text-search-results/qc-warning-tooltip.html
View file @
07dbdda6
<div
class=
"qc-warning-tooltip"
>
<span
ng-repeat=
"warning in rna.fields.qc_warning | plaintext"
>
<p
ng-if=
"warning === 'possible_contamination'"
>
This Eukaryotic sequence matches a Bacterial Rfam family
</p>
<p
ng-if=
"warning === 'possible_orf'"
>
This is a new message
</p>
<p
ng-if=
"warning === 'incomplete_sequence'"
>
This sequence matches only part of Rfam model
</p>
<p
ng-if=
"warning === 'missing_match'"
>
This sequence does not match the expected Rfam family
</p>
</span>
...
...
rnacentral/portal/static/js/components/text-search/text-search-results/text-search-results.html
View file @
07dbdda6
...
...
@@ -294,6 +294,7 @@
<span
ng-repeat=
"warning in rna.fields.qc_warning | plaintext"
>
<span
ng-if=
"warning==='has_issue'"
></span>
<span
ng-if=
"warning==='possible_contamination'"
>
possible contamination
</span>
<span
ng-if=
"warning==='possible_orf'"
>
possible ORF
</span>
<span
ng-if=
"warning==='incomplete_sequence'"
>
incomplete sequence
</span>
<span
ng-if=
"warning==='missing_rfam_match'"
>
missing Rfam hit
</span>
{{$last || warning==='has_issue' ? '' : ', '}}
</span>
...
...
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