Skip to content

Commit 8094a24

Browse files
authored
Add a defrag step (#138)
1 parent 96c16a6 commit 8094a24

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

thor/orbits/attribution.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,7 @@ def merge_and_extend_orbits(
459459
# the same time, keep only observation with smallest distance
460460
attributions = attributions.drop_coincident_attributions(observations)
461461

462+
attributions = qv.defragment(attributions)
462463
# Create a new orbit members table with the newly attributed observations and
463464
# filter the orbits to only include those that still have observations
464465
orbit_members_iter = FittedOrbitMembers.from_kwargs(

0 commit comments

Comments
 (0)