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
199
Issues
199
List
Board
Labels
Milestones
Merge Requests
12
Merge Requests
12
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
6b0eace3
Commit
6b0eace3
authored
Jan 23, 2021
by
david Chavalarias
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[phylo] working on file naming function. Now OK but branch length is still missing
parent
2cb231b7
Pipeline
#1385
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
12 deletions
+16
-12
Main.hs
bin/gargantext-adaptative-phylo/Main.hs
+16
-12
No files found.
bin/gargantext-adaptative-phylo/Main.hs
View file @
6b0eace3
...
@@ -170,26 +170,30 @@ main = do
...
@@ -170,26 +170,30 @@ main = do
let
sensibility
=
case
(
phyloProximity
config
)
of
let
sensibility
=
case
(
phyloProximity
config
)
of
Hamming
->
undefined
Hamming
->
undefined
WeightedLogJaccard
s
->
(
"WeightedLogJaccard-level"
<>
show
s
)
WeightedLogJaccard
s
->
(
"WeightedLogJaccard_s="
<>
show
s
)
WeightedLogSim
s
->
(
"WeightedLogSim-
level_"
<>
show
s
)
WeightedLogSim
s
->
(
"WeightedLogSim-
sens_s="
<>
show
s
)
let
sync
=
case
(
phyloSynchrony
config
)
of
let
sync
=
case
(
phyloSynchrony
config
)
of
ByProximityThreshold
t
_
_
_
->
(
show
t
)
ByProximityThreshold
scl
sync_sens
scope
_
->
(
"scale_"
<>
(
show
scope
)
<>
"_"
<>
(
show
sync_sens
)
<>
"_"
<>
(
show
scl
)
)
ByProximityDistribution
_
_
->
undefined
ByProximityDistribution
_
_
->
undefined
let
time_unit
=
case
(
timeUnit
config
)
of
Year
period
step
frame
->
(
"time"
<>
"_"
<>
(
show
period
)
<>
"_"
<>
(
show
step
)
<>
(
show
frame
))
-- to be improved
let
sea_elevation
=
case
(
seaElevation
config
)
of
-- let br_length = case (take 1 $ exportFilter config) of
Constante
sea_start
sea_step
->
(
"sea_cst_"
<>
(
show
sea_start
)
<>
"_"
<>
(
show
sea_step
))
-- ByBranchSize t -> (show t)
Adaptative
granu
->
(
"sea_adapt"
<>
(
show
granu
))
let
output
=
(
outputPath
config
)
let
output
=
(
outputPath
config
)
<>
(
unpack
$
phyloName
config
)
<>
(
unpack
$
phyloName
config
)
<>
"-"
<>
clq
<>
"-"
<>
time_unit
<>
"-hlev_"
<>
(
show
(
phyloLevel
config
))
<>
"-hlev_"
<>
(
show
(
phyloLevel
config
))
<>
"-sens_"
<>
sensibility
<>
"-"
<>
sea_elevation
-- <> "-lenght_" <> br_length
<>
"-"
<>
sensibility
<>
"-scale_"
<>
(
show
(
_qua_granularity
$
phyloQuality
config
))
<>
"-"
<>
clq
<>
"-sync_"
<>
sync
<>
"-level_"
<>
(
show
(
_qua_granularity
$
phyloQuality
config
))
<>
"-"
<>
sync
<>
".dot"
<>
".dot"
dotToFile
output
dot
dotToFile
output
dot
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