You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a solution coming for this soon but it won't have custom exceptions unfortunately. Once we have a better parsing solution we'll have custom errors that will let the user know. I'll update the issue with the fix once the fix is pushed but I'll keep the issue open until the better parsing solution is implemented.
I was imagining basic validation that just recognizes the general syntax for actions (comma-separated list enclosed in curly brackets).
Validation of the specific attributes associated with particular actions would be even better, but I wasn't trying to suggest that. Basic validation as outlined above would be helpful.
This is partially addressed with 0.4.6 release. The actions now know their possible arguments and will raise an error if the argument is incorrect. Eventually with the full parser I'm hoping to point out the exact reason why something fails but until then this should catch majority of these hopefully.
Activity
ASinanSaglam commentedon Sep 16, 2021
We have a solution coming for this soon but it won't have custom exceptions unfortunately. Once we have a better parsing solution we'll have custom errors that will let the user know. I'll update the issue with the fix once the fix is pushed but I'll keep the issue open until the better parsing solution is implemented.
jonrkarr commentedon Sep 16, 2021
I was imagining basic validation that just recognizes the general syntax for actions (comma-separated list enclosed in curly brackets).
Validation of the specific attributes associated with particular actions would be even better, but I wasn't trying to suggest that. Basic validation as outlined above would be helpful.
ASinanSaglam commentedon Sep 20, 2021
This is partially addressed with 0.4.6 release. The actions now know their possible arguments and will raise an error if the argument is incorrect. Eventually with the full parser I'm hoping to point out the exact reason why something fails but until then this should catch majority of these hopefully.
fix: rule modifiers, Python 3.12 compat, CI overhaul, NFsim version