Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
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
Przemyslaw Kaminski
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
Changes
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
let
sensibility
=
case
(
phyloProximity
config
)
of
Hamming
->
undefined
WeightedLogJaccard
s
->
(
"WeightedLogJaccard-level"
<>
show
s
)
WeightedLogSim
s
->
(
"WeightedLogSim-
level_"
<>
show
s
)
WeightedLogJaccard
s
->
(
"WeightedLogJaccard_s="
<>
show
s
)
WeightedLogSim
s
->
(
"WeightedLogSim-
sens_s="
<>
show
s
)
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
let
time_unit
=
case
(
timeUnit
config
)
of
Year
period
step
frame
->
(
"time"
<>
"_"
<>
(
show
period
)
<>
"_"
<>
(
show
step
)
<>
(
show
frame
))
-- to be improved
-- let br_length = case (take 1 $ exportFilter config) of
-- ByBranchSize t -> (show t)
let
sea_elevation
=
case
(
seaElevation
config
)
of
Constante
sea_start
sea_step
->
(
"sea_cst_"
<>
(
show
sea_start
)
<>
"_"
<>
(
show
sea_step
))
Adaptative
granu
->
(
"sea_adapt"
<>
(
show
granu
))
let
output
=
(
outputPath
config
)
<>
(
unpack
$
phyloName
config
)
<>
"-"
<>
clq
<>
"-"
<>
time_unit
<>
"-hlev_"
<>
(
show
(
phyloLevel
config
))
<>
"-sens_"
<>
sensibility
-- <> "-lenght_" <> br_length
<>
"-scale_"
<>
(
show
(
_qua_granularity
$
phyloQuality
config
))
<>
"-sync_"
<>
sync
<>
"-"
<>
sea_elevation
<>
"-"
<>
sensibility
<>
"-"
<>
clq
<>
"-level_"
<>
(
show
(
_qua_granularity
$
phyloQuality
config
))
<>
"-"
<>
sync
<>
".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