-
Notifications
You must be signed in to change notification settings - Fork 68
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
[FEATURE] Option to apply a variant to be used by the preflights #388
Comments
Hi @jnavila !
You must understand that a config file could contain more than one variant, without a new option is impossible to determine the exact thing you want. To make things worst: changing the behavior is not a good idea. BTW: I was thinking about some mechanism to create the SCH/PCBs for the variants and then apply the operations, so we don't generate them over and over, but some small details forces to generate them anyways. But could help with this. |
Hi, My config files contain several variants, that's the pain point, and obviously, my request does not fall into the preflight checks, but more on variant management. I don't think that the behavior needs to be changed, but more that an additional command be created once a variant has been instanciated. Your last remark is very interesting. I usually generate multiple outputs for a given variant, and the types of outputs are the same across variants. Right now, I managed to prevent copy-paste by using yaml references, but this feels a bit odd because I would expect this feature to be described in the kibot language, not by a the yaml level workaround. Anyway, let me know how the enhancement goes. Edit: fixed some typos. |
Hi @jnavila !
You'll avoid repetition in the config file and get the preflights |
Fill as much as you can, remove the rest
Describe the bug
When using variants for alternative population of functions, some output pins of alternative functions are tagged in contention error by ERC , but that would not happen for each variant.
To Reproduce
Create a schematic with 2 op-amps whose output are linked. Create variants which eliminates one of them. Enable erc in Kibot → you get an erc error.
Expected behavior
The erc should be performed for each variant, once each schematic has been processed. Reports of ERC errors should be per-variant.
Environment (please complete the following information):
Where are you running KiBot:
The text was updated successfully, but these errors were encountered: