Skip to content

Commit 29b0445

Browse files
committed
Ensure cells and rows appear correct number of times in the source maps
1 parent dec6eb3 commit 29b0445

File tree

2 files changed

+825
-568
lines changed

2 files changed

+825
-568
lines changed

flattentool/input.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ def fancy_unflatten(self):
255255
ordered_items = sorted(cell_source_map.items())
256256
ordered_cell_source_map = OrderedDict(( '/'.join(str(x) for x in path), location) for path, location in ordered_items)
257257
row_source_map = OrderedDict()
258-
heading_source_map = {}
258+
heading_source_map = OrderedDict()
259259
for path, _ in ordered_items:
260260
cells = cell_source_map[path]
261261
# Prepare row_source_map key

0 commit comments

Comments
 (0)