Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Christian Merten
haskell-gargantext
Commits
9431e5f5
Commit
9431e5f5
authored
Mar 04, 2022
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[parsers] add WOS_ZIP
parent
ba645886
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
New.hs
src/Gargantext/API/Node/Corpus/New.hs
+2
-1
File.hs
src/Gargantext/API/Node/Corpus/New/File.hs
+1
-0
No files found.
src/Gargantext/API/Node/Corpus/New.hs
View file @
9431e5f5
...
@@ -271,8 +271,9 @@ addToCorpusWithForm user cid (NewWithForm ft d l _n) logStatus jobLog = do
...
@@ -271,8 +271,9 @@ addToCorpusWithForm user cid (NewWithForm ft d l _n) logStatus jobLog = do
parse
=
case
ft
of
parse
=
case
ft
of
CSV_HAL
->
Parser
.
parseFormat
Parser
.
CsvHal
CSV_HAL
->
Parser
.
parseFormat
Parser
.
CsvHal
CSV
->
Parser
.
parseFormat
Parser
.
CsvGargV3
CSV
->
Parser
.
parseFormat
Parser
.
CsvGargV3
WOS
->
Parser
.
parseFormat
Parser
.
WOS
PresseRIS
->
Parser
.
parseFormat
Parser
.
RisPresse
PresseRIS
->
Parser
.
parseFormat
Parser
.
RisPresse
WOS
->
Parser
.
parseFormat
Parser
.
WOS
WOS_ZIP
->
Parser
.
parseFormat
Parser
.
WOS_ZIP
ZIP
->
Parser
.
parseFormat
Parser
.
ZIP
ZIP
->
Parser
.
parseFormat
Parser
.
ZIP
-- TODO granularity of the logStatus
-- TODO granularity of the logStatus
...
...
src/Gargantext/API/Node/Corpus/New/File.hs
View file @
9431e5f5
...
@@ -45,6 +45,7 @@ data FileType = CSV
...
@@ -45,6 +45,7 @@ data FileType = CSV
|
CSV_HAL
|
CSV_HAL
|
PresseRIS
|
PresseRIS
|
WOS
|
WOS
|
WOS_ZIP
|
ZIP
|
ZIP
deriving
(
Eq
,
Show
,
Generic
)
deriving
(
Eq
,
Show
,
Generic
)
...
...
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