We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3599dfa commit 1b14a8aCopy full SHA for 1b14a8a
1 file changed
msprime/demography.py
@@ -1112,8 +1112,10 @@ def remap(identifier):
1112
return copy_demog
1113
1114
def sort_events(self):
1115
- # Sort demographic events by time. Sorting is stable so the relative
1116
- # order of events at the same time will be preserved.
+ """
+ Sort demographic events by time. Sorting is stable so the relative
1117
+ order of events at the same time will be preserved.
1118
1119
self.events.sort(key=lambda de: de.time)
1120
1121
def insert_populations(self, tables):
0 commit comments