Skip to content

Commit

Permalink
fix lineage regex
Browse files Browse the repository at this point in the history
  • Loading branch information
atarkowska committed Nov 21, 2017
1 parent a62ff04 commit 30e6ef8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions emgapianns/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@
)

mongo_router.register(
r'annotations/organisms/(?P<lineage>[a-zA-Z0-9\_\-\.\:\(\)\<\>\s]+)',
r'annotations/organisms/(?P<lineage>.*)',
m_views.OrganismTreeViewSet,
base_name='organisms-children'
)

mongo_router.register(
(r'annotations/organisms/(?P<lineage>[a-zA-Z0-9\_\-\.\:\(\)\<\>\s]+)/'
(r'annotations/organisms/(?P<lineage>.*)/'
r'analysis'),
m_views.OrganismAnalysisRelationshipViewSet,
base_name='organisms-analysis'
Expand Down

0 comments on commit 30e6ef8

Please sign in to comment.