Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
humanities
gargantext
Commits
2098f3f0
Commit
2098f3f0
authored
Aug 23, 2016
by
Romain Loth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correction 2: pubmed completion + save docs
parent
0da3e90b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
pubmed.py
moissonneurs/pubmed.py
+1
-1
project.html
templates/pages/projects/project.html
+2
-2
No files found.
moissonneurs/pubmed.py
View file @
2098f3f0
...
...
@@ -18,7 +18,7 @@ from traceback import print_tb
from
django.shortcuts
import
redirect
from
django.http
import
Http404
,
HttpResponseRedirect
,
HttpResponseForbidden
from
gargantext.constants
import
get_resource
,
QUERY_SIZE_N_MAX
from
gargantext.constants
import
get_resource
_by_name
,
QUERY_SIZE_N_MAX
from
gargantext.models.nodes
import
Node
from
gargantext.util.db
import
session
from
gargantext.util.db_cache
import
cache
...
...
templates/pages/projects/project.html
View file @
2098f3f0
...
...
@@ -337,7 +337,7 @@
var
theType
=
$
(
"#id_type option:selected"
).
html
();
console
.
log
(
"consoling the type: "
)
console
.
log
(
theType
)
if
(
theType
==
"Pubmed
(XML format)
"
)
doTheQuery
();
if
(
theType
==
"Pubmed
[XML]
"
)
doTheQuery
();
if
(
theType
==
"ISTex"
)
{
var
origQuery
=
$
(
"#id_name"
).
val
()
console
.
log
(
"printing the results:"
)
...
...
@@ -484,7 +484,7 @@
$
(
"#id_name"
).
on
(
'input'
,
function
(
e
){
console
.
log
(
$
(
this
).
val
())
if
(
theType
==
"Pubmed
(XML format)
"
)
if
(
theType
==
"Pubmed
[XML]
"
)
testPUBMED
(
$
(
this
).
val
()
)
});
}
...
...
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