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
3f06e9cd
Commit
3f06e9cd
authored
Apr 06, 2021
by
carlosribas
Browse files
Changed to work with reverse()
parent
d8dfc7a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
rnacentral/apiv1/urls.py
rnacentral/apiv1/urls.py
+1
-1
No files found.
rnacentral/apiv1/urls.py
View file @
3f06e9cd
...
...
@@ -36,7 +36,7 @@ urlpatterns = [
# secondary structure thumbnail in SVG format
url
(
r
'^rna/(?P<pk>URS[0-9A-Fa-f]{10})/2d/svg/?$'
,
cache_page
(
CACHE_TIMEOUT
)(
views
.
SecondaryStructureSVGImage
.
as_view
()),
name
=
'rna-2d-svg'
),
# rfam hits found in this RNAcentral id
url
(
r
'^rna/(?P<pk>URS[0-9A-Fa-f]{10})/rfam-hits
(
/(?P<taxid>\d+)
)
?/?$'
,
cache_page
(
CACHE_TIMEOUT
)(
views
.
RfamHitsAPIViewSet
.
as_view
()),
name
=
'rna-rfam-hits'
),
url
(
r
'^rna/(?P<pk>URS[0-9A-Fa-f]{10})/rfam-hits/(?P<taxid>\d+)?/?$'
,
cache_page
(
CACHE_TIMEOUT
)(
views
.
RfamHitsAPIViewSet
.
as_view
()),
name
=
'rna-rfam-hits'
),
# sequence features found in a sequence (CRS, mature miRNA products etc)
url
(
r
'^rna/(?P<pk>URS[0-9A-Fa-f]{10})/sequence-features/(?P<taxid>\d+)/?$'
,
cache_page
(
CACHE_TIMEOUT
)(
views
.
SequenceFeaturesAPIViewSet
.
as_view
()),
name
=
'rna-sequence-features'
),
# related sequences according to Ensembl Compara
...
...
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