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
a5da52f0
Commit
a5da52f0
authored
Jul 05, 2016
by
Romain Loth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor workflow comments update
parent
5001e5e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
list_main.py
gargantext/util/toolchain/list_main.py
+2
-2
ngramlists.py
gargantext/views/api/ngramlists.py
+1
-1
No files found.
gargantext/util/toolchain/list_main.py
View file @
a5da52f0
...
...
@@ -39,11 +39,11 @@ def do_mainlist(corpus,
# retrieve helper nodes if not provided
if
not
ranking_scores_id
:
ranking_scores_id
=
session
.
query
(
Node
.
id
)
.
filter
(
Node
.
typename
==
"T
FIDF
-GLOBAL"
,
Node
.
typename
==
"T
IRANK
-GLOBAL"
,
Node
.
parent_id
==
corpus
.
id
)
.
first
()
if
not
ranking_scores_id
:
raise
ValueError
(
"MAINLIST: T
FIDF
node needed for mainlist creation"
)
raise
ValueError
(
"MAINLIST: T
IRANK
node needed for mainlist creation"
)
if
not
stoplist_id
:
stoplist_id
=
session
.
query
(
Node
.
id
)
.
filter
(
...
...
gargantext/views/api/ngramlists.py
View file @
a5da52f0
...
...
@@ -57,7 +57,7 @@ class CSVLists(APIView):
params in request.GET:
onto_corpus: the corpus whose lists are getting patched
params in request.
FILES
:
params in request.
data
:
csvfile: the csv file
/!
\
We assume we checked the file size client-side before upload
...
...
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