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
d8e0f40a
Commit
d8e0f40a
authored
Apr 30, 2021
by
carlosribas
Browse files
Remove sequence_search def
parent
e89a9c35
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
18 deletions
+0
-18
rnacentral/sequence_search/views.py
rnacentral/sequence_search/views.py
+0
-18
No files found.
rnacentral/sequence_search/views.py
View file @
d8e0f40a
...
@@ -117,24 +117,6 @@ def show_searches(request):
...
@@ -117,24 +117,6 @@ def show_searches(request):
return
proxy_request
(
request
,
url
,
'GET'
)
return
proxy_request
(
request
,
url
,
'GET'
)
def
sequence_search
(
request
):
"""Sequence search main page"""
path
=
os
.
path
.
join
(
settings
.
PROJECT_PATH
,
'rnacentral'
,
'sequence_search'
,
'static'
,
'rnacentral-sequence-search-embed'
,
'dist'
,
'RNAcentral-sequence-search.js'
)
# Check if the embeddable component is installed
plugin_installed
=
True
if
os
.
path
.
isfile
(
path
)
else
False
context
=
{
'plugin_installed'
:
plugin_installed
}
return
render
(
request
,
'sequence-search-embed.html'
,
{
'context'
:
context
})
def
dashboard
(
request
):
def
dashboard
(
request
):
"""Info about searches in rnacentral-sequence-search."""
"""Info about searches in rnacentral-sequence-search."""
all_searches
,
searches_last_24_hours
,
searches_last_week
=
0
,
0
,
0
all_searches
,
searches_last_24_hours
,
searches_last_week
=
0
,
0
,
0
...
...
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