Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Fix typo in gerber.py for filling zeros in y value. #20

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lendres
Copy link

@lendres lendres commented Aug 11, 2022

Line 248
From: x_digs_total
To: y_digs_total

It seems like the x total digits got used instead of the y total digits in this line.

Line 248
From: x_digs_total
To:      y_digs_total
The regular expression search for both X and Y at the same time is redundant and can be removed.  The searches for X and Y individually that follow it will catch cases where X and Y are combined.

The regular expression is searching for a substring of the line, not trying to match an entire line, therefore, it does not matter if X is alone or part of X and Y together on a single line.
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant