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
165
Issues
165
List
Board
Labels
Milestones
Merge Requests
11
Merge Requests
11
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
haskell-gargantext
Commits
05e6deae
Verified
Commit
05e6deae
authored
May 24, 2023
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[phylo] remove debug file write
parent
8fb30669
Pipeline
#4049
failed with stages
in 13 minutes and 16 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
Tools.hs
src/Gargantext/Core/Viz/Phylo/API/Tools.hs
+3
-7
No files found.
src/Gargantext/Core/Viz/Phylo/API/Tools.hs
View file @
05e6deae
...
...
@@ -76,16 +76,12 @@ phylo2dot2json phylo = do
dotToFile
fileFrom
(
toPhyloExport
phylo
)
-- parsing a file can be done with:
-- runParser' (Data.GraphViz.Parsing.parse :: Parse (Data.GraphViz.DotGraph Text)) $ TL.fromStrict f
Shell
.
callProcess
"dot"
[
"-Tdot"
,
"-o"
,
fileDot
,
fileFrom
]
Shell
.
callProcess
"dot"
[
"-Txdot_json"
,
"-o"
,
fileToJson
,
fileDot
]
ffrom
<-
readFile
fileFrom
writeFile
"/tmp/fileFrom.json"
ffrom
fdot
<-
readFile
fileDot
writeFile
"/tmp/file.dot"
fdot
fto
<-
readFile
fileToJson
writeFile
"/tmp/fileTo.json"
fto
maybeValue
<-
decodeFileStrict
fileToJson
print
maybeValue
...
...
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