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
Describe the bug
When trying to set a parameter on a code that does not have that parameter, AMUSE tries to generate a clear error message to raise, but crashes when doing so, resulting in a difficult-to-understand exception being raised instead.
To Reproduce
Set a parameter on a code that does not have it.
Expected behavior
An exception raised with clear error message along the lines of "code X does not have parameter Y".
Additional context
Reported by @cconroy20 in #1004. See my comments there on where the bug is. We still need to figure out if we can get the name of the code, and if so, how.
The text was updated successfully, but these errors were encountered:
Describe the bug
When trying to set a parameter on a code that does not have that parameter, AMUSE tries to generate a clear error message to raise, but crashes when doing so, resulting in a difficult-to-understand exception being raised instead.
To Reproduce
Set a parameter on a code that does not have it.
Expected behavior
An exception raised with clear error message along the lines of "code X does not have parameter Y".
Additional context
Reported by @cconroy20 in #1004. See my comments there on where the bug is. We still need to figure out if we can get the name of the code, and if so, how.
The text was updated successfully, but these errors were encountered: