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
b492f3d3
Commit
b492f3d3
authored
Apr 01, 2021
by
carlosribas
Browse files
Use brackets to fix the unit tests
parent
291cca8f
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 @
b492f3d3
...
...
@@ -45,7 +45,7 @@ urlpatterns = [
url
(
r
'^rna/(?P<pk>URS[0-9A-Fa-f]{10})/publications/?$'
,
cache_page
(
CACHE_TIMEOUT
)(
views
.
RnaPublicationsView
.
as_view
()),
name
=
'rna-publications'
),
url
(
r
'^rna/(?P<pk>URS[0-9A-Fa-f]{10})/publications/(?P<taxid>\d+)/?$'
,
cache_page
(
CACHE_TIMEOUT
)(
views
.
RnaPublicationsView
.
as_view
()),
name
=
'rna-publications'
),
# species-specific RNAcentral id
url
(
r
'^rna/(?P<pk>URS[0-9A-Fa-f]{10})
(/|_)
(?P<taxid>\d+)/?$'
,
cache_page
(
CACHE_TIMEOUT
)(
views
.
RnaSpeciesSpecificView
.
as_view
()),
name
=
'rna-species-specific'
),
url
(
r
'^rna/(?P<pk>URS[0-9A-Fa-f]{10})
[/_]
(?P<taxid>\d+)/?$'
,
cache_page
(
CACHE_TIMEOUT
)(
views
.
RnaSpeciesSpecificView
.
as_view
()),
name
=
'rna-species-specific'
),
# genome locations for RNA (species-specific)
url
(
r
'^rna/(?P<pk>URS[0-9A-Fa-f]{10})/genome-locations/(?P<taxid>\d+)/?$'
,
cache_page
(
CACHE_TIMEOUT
)(
views
.
RnaGenomeLocations
.
as_view
()),
name
=
'rna-genome-locations'
),
# go annotations for RNA (species-specific)
...
...
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