Skip to content

Commit 83f8af8

Browse files
petrelharpmergify[bot]
authored andcommitted
import xml.dom.minidom; closes #3144
1 parent feeecb5 commit 83f8af8

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

python/CHANGELOG.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@
44

55
**Bugfixes**
66

7-
- Meatdata.schema was returning a modified schema, this is fixed to return a copy of
7+
- Metadata.schema was returning a modified schema, this is fixed to return a copy of
88
the original schema instead (:user:`benjeffery`, :issue:`3129`, :pr:`3130`)
99

10+
- ``TreeSequence.draw_svg(path=...)`` was failing due to a missing
11+
`import xml.dom.minidom` (:user:`petrelharp`, :issue:`3144`, :pr:`3145`)
12+
1013
--------------------
1114
[0.6.1] - 2025-03-31
1215
--------------------

python/tskit/drawing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
import numbers
3131
import operator
3232
import warnings
33-
import xml
33+
import xml.dom.minidom
3434
from dataclasses import dataclass
3535
from typing import List
3636
from typing import Mapping

0 commit comments

Comments
 (0)