[med-svn] [Git][med-team/phast][upstream] New upstream version 1.8+dfsg

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Sat Nov 15 09:33:43 GMT 2025



Étienne Mollier pushed to branch upstream at Debian Med / phast


Commits:
5f831c3b by Étienne Mollier at 2025-11-15T10:25:24+01:00
New upstream version 1.8+dfsg
- - - - -


1 changed file:

- src/lib/phylo/phast_trees.c


Changes:

=====================================
src/lib/phylo/phast_trees.c
=====================================
@@ -36,6 +36,7 @@ static int idcounter = 0;
 /* bottom-right y */
 #define BR_Y 700
 
+#define THRESHOLD_BRANCH_LENGTH 1e-8
 
 /** Parse a tree from a file in Newick (New Hampshire) format */
 TreeNode *tr_new_from_file(FILE *f) {
@@ -82,6 +83,9 @@ TreeNode *tr_new_from_string(const char *treestr) {
           die("ERROR: Can't parse distance in tree (\"%s\").\n",
               diststr->chars);
 	in_distance = FALSE;
+        if(node->dparent < THRESHOLD_BRANCH_LENGTH){
+          node->dparent = 0;
+        }      
       }
     }
 



View it on GitLab: https://salsa.debian.org/med-team/phast/-/commit/5f831c3be7d2e11d0855dd0c18c87eb3e82863dc

-- 
View it on GitLab: https://salsa.debian.org/med-team/phast/-/commit/5f831c3be7d2e11d0855dd0c18c87eb3e82863dc
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20251115/f7fbe8c6/attachment-0001.htm>


More information about the debian-med-commit mailing list