Skip to content

Commit 2ca302d

Browse files
author
Vic-Nas
committed
Auto-generate docs and bump version to 0.13 [skip ci]
1 parent c087574 commit 2ca302d

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.12
1+
0.13

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
setup(
88
name="vicutils",
9-
version="0.12",
9+
version="0.13",
1010
packages=find_packages(),
1111
install_requires=[],
1212

vicutils/printBin.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,12 @@ <h2 id="returns">Returns</h2>
190190
if prev is not None:
191191
for i in range(0, len(prev), 2):
192192
if i + 1 &lt; len(prev):
193-
# Fill columns between prev[i] and prev[i+1]
193+
# Calculate parent position (should not be overwritten)
194+
parent_col = (prev[i] + prev[i + 1]) // 2
195+
# Fill columns between prev[i] and prev[i+1], except parent
194196
for col in range(prev[i] + 1, prev[i + 1]):
195-
mat[level][col] = center(&#34;&#34;, unitSize=unitSize, fillChar=gapFillChar)
197+
if col != parent_col:
198+
mat[level][col] = center(&#34;&#34;, unitSize=unitSize, fillChar=gapFillChar)
196199

197200
# Remove empty leading columns if requested
198201
if removeEmpty:

0 commit comments

Comments
 (0)