This repository has been archived by the owner on Oct 2, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Error checking in sch.Component.addField (#267)
* Add error checking to Component.addField. Change interface. The function prototype is changed to a more pythonic one - keyword based, making sure both 'ref' and 'name' are always passed. Invalid items in the additional 'field_data' are discarded silently. 'ref' and 'name' are automatically doubled-quoted if that's not already the case. * Fix add_part_number script for new Component.addField interface * Make coding style PEP8 compliant
- Loading branch information
Showing
2 changed files
with
66 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters