diff --git a/treeprofiler/layouts/seq_layouts.py b/treeprofiler/layouts/seq_layouts.py index 5a89094..7e3199b 100644 --- a/treeprofiler/layouts/seq_layouts.py +++ b/treeprofiler/layouts/seq_layouts.py @@ -1,5 +1,5 @@ -from ete4.core.seqgroup import SeqGroup +from ete4 import SeqGroup from ete4.smartview import TreeLayout from ete4.smartview import AlignmentFace, SeqMotifFace, ScaleFace from ete4.smartview.renderer import draw_helpers diff --git a/treeprofiler/src/utils.py b/treeprofiler/src/utils.py index 2641cf2..cdf2210 100644 --- a/treeprofiler/src/utils.py +++ b/treeprofiler/src/utils.py @@ -1,7 +1,7 @@ from __future__ import annotations from treeprofiler.src import b64pickle from ete4.parser.newick import NewickError -from ete4.core.operations import remove +from ete4.operations import remove from ete4 import Tree, PhyloTree from Bio import AlignIO from Bio.Align import MultipleSeqAlignment diff --git a/treeprofiler/tree_annotate.py b/treeprofiler/tree_annotate.py index e9176db..2d73e8a 100644 --- a/treeprofiler/tree_annotate.py +++ b/treeprofiler/tree_annotate.py @@ -13,7 +13,7 @@ from scipy import stats from ete4.parser.newick import NewickError -from ete4.core.seqgroup import SeqGroup +from ete4 import SeqGroup from ete4 import Tree, PhyloTree from ete4 import GTDBTaxa from ete4 import NCBITaxa