Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add generate netlist routine #50

Merged
merged 6 commits into from
Oct 26, 2023
Merged

Add generate netlist routine #50

merged 6 commits into from
Oct 26, 2023

Conversation

kdumontnu
Copy link
Contributor

@kdumontnu kdumontnu commented Oct 20, 2023

Depends on #48
Depends on https://github.com/AllSpiceIO/crysknife/pull/691

Largely derived from the BOM generation, but I keep it a bit simpler here.

@kdumontnu kdumontnu requested a review from McRaeAlex October 20, 2023 20:29
@kdumontnu kdumontnu mentioned this pull request Oct 21, 2023
@kdumontnu kdumontnu changed the base branch from kd/add_vscode_settings to main October 21, 2023 15:30
@kdumontnu kdumontnu requested a review from McRaeAlex October 26, 2023 21:26
@kdumontnu kdumontnu merged commit 3c5af4f into main Oct 26, 2023
@kdumontnu kdumontnu deleted the kd/pcb_netlist branch October 26, 2023 22:07
time.sleep(0.5)
continue

return pcb_json["component_instances"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the retries are ever exhausted, this line will raise UnboundLocalError: local variable 'pcb_json' referenced before assignment.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point - I'm working on improving error handling. I'll add that change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants