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

[FEAT] Bulding phylo with graphviz

parent e1b6117a
......@@ -28,6 +28,7 @@ rec {
# gfortran7.cc.lib
expat
icu
graphviz
];
libPaths = pkgs.lib.makeLibraryPath nonhsBuildInputs;
shellHook = ''
......
......@@ -203,6 +203,7 @@ library:
- postgresql-simple
- pretty-simple
- probability
- process
- product-profunctors
- profunctors
- protolude
......
......@@ -368,7 +368,7 @@ sortByBirthDate order export =
processSort :: Sort -> SeaElevation -> PhyloExport -> PhyloExport
processSort sort' elev export = case sort' of
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))
......
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