Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
treebuilder
Overview
Overview
Details
Activity
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
Huang Di
treebuilder
Commits
aa3cfc42
Commit
aa3cfc42
authored
Jul 11, 2023
by
Huang Di
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix s1 s2 display bug
parent
36da3345
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
treebuilder.py
+4
-4
No files found.
treebuilder.py
View file @
aa3cfc42
...
...
@@ -532,7 +532,7 @@ class TreeBuilder(object):
for
gene_flow
,
m1s
in
propotion
.
items
():
s1
,
tar
=
gene_flow
for
m1
in
m1s
:
s
1
,
mix
,
m_pd
=
m1
s
2
,
mix
,
m_pd
=
m1
# print(s2, tar, s1, mix, m_pd)
print
(
mat
.
format
(
s2
,
tar
,
s1
,
mix
,
m_pd
))
if
(
s1
,
tar
)
not
in
gene_flows_checked_by_propotion
:
...
...
@@ -756,9 +756,9 @@ class TreeBuilder(object):
if
print_gene_flow
:
for
l1
,
l2
in
self
.
gene_flow
:
options
.
append
(
"
%
s ->
%
s [color=red]"
%
(
l1
,
l2
))
print
(
self
.
populations
)
print
(
self
.
relations
)
print
(
RenderTree
(
self
.
root
))
#
print(self.populations)
#
print(self.relations)
#
print(RenderTree(self.root))
return
DotExporter
(
self
.
root
,
options
=
options
)
def
export_dot
(
self
,
filename
,
print_gene_flow
=
True
):
...
...
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