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
Carlos Ribas
rnacentral-webcode
Commits
56ca6523
Unverified
Commit
56ca6523
authored
Jul 12, 2021
by
Carlos Eduardo Ribas
Committed by
GitHub
Jul 12, 2021
Browse files
Merge branch 'master-python3' into python3-version
parents
07dbdda6
14b22d96
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
rnacentral/portal/config/svg_images.py
rnacentral/portal/config/svg_images.py
+1
-1
rnacentral/portal/static/img/timeline/nar-2021.png
rnacentral/portal/static/img/timeline/nar-2021.png
+0
-0
rnacentral/portal/views.py
rnacentral/portal/views.py
+7
-0
No files found.
rnacentral/portal/config/svg_images.py
View file @
56ca6523
...
...
@@ -30,7 +30,7 @@ examples = [
'description'
:
'Parcubacteria LOOT RNA'
,
},
{
'uid'
:
'URS000
0D9E279
'
,
'uid'
:
'URS000
1BC256D
'
,
'taxid'
:
'9606'
,
'description'
:
'Human FGF-2 internal ribosome entry site'
,
},
...
...
rnacentral/portal/static/img/timeline/nar-2021.png
0 → 100644
View file @
56ca6523
455 KB
rnacentral/portal/views.py
View file @
56ca6523
...
...
@@ -137,6 +137,12 @@ def rna_view(request, upi, taxid=None):
except
AttributeError
:
summary_so_terms
=
''
# Check if r2dt-web is installed
path
=
os
.
path
.
join
(
settings
.
PROJECT_PATH
,
'rnacentral'
,
'portal'
,
'static'
,
'r2dt-web'
,
'dist'
,
'r2dt-web.js'
)
plugin_installed
=
True
if
os
.
path
.
isfile
(
path
)
else
False
context
=
{
'upi'
:
upi
,
'symbol_counts'
:
symbol_counts
,
...
...
@@ -152,6 +158,7 @@ def rna_view(request, upi, taxid=None):
'mirna_regulators'
:
rna
.
get_mirna_regulators
(
taxid
=
taxid
),
'annotations_from_other_species'
:
rna
.
get_annotations_from_other_species
(
taxid
=
taxid
),
'intact'
:
rna
.
get_intact
(
taxid
),
'plugin_installed'
:
plugin_installed
,
}
response
=
render
(
request
,
'portal/sequence.html'
,
{
'rna'
:
rna
,
'context'
:
context
})
# define canonical URL for Google
...
...
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