Skip to content

Commit f460b72

Browse files
authored
Merge pull request #15 from m-d-grunnill/master
times = sorted(times) in add_rate_change_times.
2 parents 7e18352 + 4eb8ce7 commit f460b72

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

beast2xml/beast2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -913,6 +913,7 @@ def add_rate_change_times(self, parameter, times):
913913
del parameter_element # delete old parameter element_path if it exists.
914914
if not any(time == 0.0 for time in times):
915915
times.append(0.0)
916+
times = sorted(times)
916917
dimensions = len(times)
917918
ET.SubElement(
918919
skyline_element,

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55

66
setup(
77
name="beast2-xml",
8-
version="1.3.3",
8+
version="1.3.4",
99
packages=["beast2xml"],
1010
package_data={"beast2xml": ["templates/*.xml"]},
1111
url="https://github.com/acorg/beast2-xml",
1212
download_url="https://github.com/acorg/beast2-xml",
13-
author="Terry Jonesl",
13+
author="Terry Jones",
1414
author_email="tcj25@cam.ac.uk",
1515
keywords=["BEAST2", "XML"],
1616
classifiers=[

0 commit comments

Comments
 (0)