Commit dc29199c authored by Alexandre Delanoë's avatar Alexandre Delanoë

[FEAT] Bulding phylo with graphviz

parent e1b6117a
...@@ -28,6 +28,7 @@ rec { ...@@ -28,6 +28,7 @@ rec {
# gfortran7.cc.lib # gfortran7.cc.lib
expat expat
icu icu
graphviz
]; ];
libPaths = pkgs.lib.makeLibraryPath nonhsBuildInputs; libPaths = pkgs.lib.makeLibraryPath nonhsBuildInputs;
shellHook = '' shellHook = ''
......
...@@ -203,6 +203,7 @@ library: ...@@ -203,6 +203,7 @@ library:
- postgresql-simple - postgresql-simple
- pretty-simple - pretty-simple
- probability - probability
- process
- product-profunctors - product-profunctors
- profunctors - profunctors
- protolude - protolude
......
...@@ -368,7 +368,7 @@ sortByBirthDate order export = ...@@ -368,7 +368,7 @@ sortByBirthDate order export =
processSort :: Sort -> SeaElevation -> PhyloExport -> PhyloExport processSort :: Sort -> SeaElevation -> PhyloExport -> PhyloExport
processSort sort' elev export = case sort' of processSort sort' elev export = case sort' of
ByBirthDate o -> sortByBirthDate o export ByBirthDate o -> sortByBirthDate o export
ByHierarchy -> export & export_branches .~ (branchToIso' (_cons_start elev) (_cons_step elev) ByHierarchy _ -> export & export_branches .~ (branchToIso' (_cons_start elev) (_cons_step elev)
$ sortByHierarchy 0 (export ^. export_branches)) $ sortByHierarchy 0 (export ^. export_branches))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment