<commit_before>﻿from django.conf.urls import patterns, include, url
from django.contrib import admin
from django.conf import settings
# from tastypie.api import Api

# from api.resources import GetProteinResource
# from api.resources import GetSequenceResource
# from api.resources import GetResidueResource

# rest_api = Api(api_name='rest')
# rest_api.register(GetProteinResource())
# rest_api.register(GetSequenceResource())
# rest_api.register(GetResidueResource())

# # protein class specific resources
# if settings.SITE_NAME == 'gpcr':
#     from api_gpcr.resources import *
    
#     rest_api.register(GetSpeciesResource())
# elif settings.SITE_NAME == 'kinase':
#     pass

urlpatterns = patterns('',
    url(r'^$', include('home.urls')),
    url(r'^admin/', include(admin.site.urls)),
    url(r'^common/', include('common.urls')),
    # url(r'^api/', include(rest_api.urls)),
    url(r'^protein/', include('protein.urls')),
    url(r'^mutations/', include('mutation.urls')),
    url(r'^interaction/', include('interaction.urls')),
    url(r'^residue/', include('residue.urls')),
    url(r'^alignment/', include('alignment.urls')),
    url(r'^similaritysearch/', include('similaritysearch.urls')),
    url(r'^phylogenetic_trees/', include('phylogenetic_trees.urls')),
    url(r'^similaritymatrix/', include('similaritymatrix.urls')),
    url(r'^structure/',include('structure.urls')),
)

if settings.DEBUG:
    import debug_toolbar
    urlpatterns += patterns('',
        url(r'^__debug__/', include(debug_toolbar.urls)),
    )<commit_msg>Fixed a merge gone wrong in main urls.py file<commit_after>﻿from django.conf.urls import patterns, include, url
from django.contrib import admin
from django.conf import settings


urlpatterns = patterns('',
    url(r'^$', include('home.urls')),
    url(r'^admin/', include(admin.site.urls)),
    url(r'^common/', include('common.urls')),
    url(r'^api/', include(rest_api.urls)),
    url(r'^protein/', include('protein.urls')),
    url(r'^family/', include('family.urls')),
    url(r'^mutations/', include('mutation.urls')),
    url(r'^interaction/', include('interaction.urls')),
    url(r'^residue/', include('residue.urls')),
    url(r'^alignment/', include('alignment.urls')),
    url(r'^similaritysearch/', include('similaritysearch.urls')),
    url(r'^phylogenetic_trees/', include('phylogenetic_trees.urls')),
    url(r'^similaritymatrix/', include('similaritymatrix.urls')),
    url(r'^structure/',include('structure.urls')),
)

if settings.DEBUG:
    import debug_toolbar
    urlpatterns += patterns('',
        url(r'^__debug__/', include(debug_toolbar.urls)),
    )
{'fraction_non_alphanumeric': 0.18202589489718202, 'fraction_numerical': 0.0, 'mean_word_length': 5.195754716981132, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4576703', 'n_tokens_mistral': 897, 'n_tokens_neox': 859, 'n_words': 144}