Commit efe32b3e authored by carlosribas's avatar carlosribas
Browse files

Taxid should not be required

parent a5b04073
......@@ -32,7 +32,7 @@ urlpatterns = [
# view for all cross-references, filtered down to a specific taxon
url(r'^rna/(?P<pk>URS[0-9A-Fa-f]{10})/xrefs/(?P<taxid>\d+)/?$', cache_page(CACHE_TIMEOUT)(views.XrefsSpeciesSpecificList.as_view()), name='rna-xrefs-species-specific'),
# secondary structure for a species-specific entry
url(r'^rna/(?P<pk>URS[0-9A-Fa-f]{10})/2d/(?P<taxid>\d+)/?$', cache_page(CACHE_TIMEOUT)(views.SecondaryStructureSpeciesSpecificList.as_view()), name='rna-2d-species-specific'),
url(r'^rna/(?P<pk>URS[0-9A-Fa-f]{10})/2d(?:/(?P<taxid>\d+))?/$', cache_page(CACHE_TIMEOUT)(views.SecondaryStructureSpeciesSpecificList.as_view()), name='rna-2d-species-specific'),
# 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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment