Closed jrg94 closed 4 years ago
Merging #83 into master will increase coverage by
0.00%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #83 +/- ##
=======================================
Coverage 99.19% 99.20%
=======================================
Files 6 6
Lines 498 504 +6
=======================================
+ Hits 494 500 +6
Misses 4 4
Impacted Files | Coverage Δ | |
---|---|---|
imagetitler/draw.py | 100.00% <100.00%> (ø) |
|
imagetitler/tests/test_utilities.py | 100.00% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 6fc4e2e...ace8d87. Read the comment docs.
Fixes #80
There was a nasty bug where custom titles could result in empty space on either end of the title. A strip command was added right at the point the overlay is generated. As a result, the data that's passed around goes unchanged, AND the extra spaces don't affect the splitting of the text. This was the best solution I could come up with without doing some sort of data cleaning on the input. Now, a user can enter a bad title, and it will have no effect on either the GUI or Command Line solutions.