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
160
Issues
160
List
Board
Labels
Milestones
Merge Requests
14
Merge Requests
14
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
e8c7bfa3
Commit
e8c7bfa3
authored
May 24, 2023
by
Przemyslaw Kaminski
Committed by
Alexandre Delanoë
Jun 01, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[phylo] remove debug file write
parent
afcac0ef
Changes
1
Hide 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 @
e8c7bfa3
...
...
@@ -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