Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purescript-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
142
Issues
142
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
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
gargantext
purescript-gargantext
Commits
909d3043
Commit
909d3043
authored
Jun 10, 2024
by
Karen Konou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Phylo] Fix JSON parsing
parent
29d81ed7
Pipeline
#6209
passed with stages
in 13 minutes and 22 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Types.purs
src/Gargantext/Components/PhyloExplorer/Types.purs
+1
-1
No files found.
src/Gargantext/Components/PhyloExplorer/Types.purs
View file @
909d3043
...
@@ -487,7 +487,7 @@ stringedMaybeToNumber s =
...
@@ -487,7 +487,7 @@ stringedMaybeToNumber s =
-- | To ["user", "sentiment analysis"] :: Array String
-- | To ["user", "sentiment analysis"] :: Array String
stringedArrayToArray :: String -> Array String
stringedArrayToArray :: String -> Array String
stringedArrayToArray str =
stringedArrayToArray str =
if String.contains (String.Pattern "\
\\
"") str
if String.contains (String.Pattern "\"") str
then
then
str # String.length
str # String.length
>>> (\length -> String.splitAt (length - 1) str)
>>> (\length -> String.splitAt (length - 1) str)
...
...
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