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
As a follow on to this PR (#611), let's go the rest of the way to use the MCprepError structure as an Optional[] response for functions where relevant.
Something else that would be nice with this effort: making the lineno and file fields optional, if there's a decent way to grab them automatically when not specifying the function to construct the error (though if I understand how it works properly now, the simple way of doing this would mean the file and lineno would always be the same, so somehow still needs to inherit from the calling location).
Since I started this effort, but stopped in favor of the 3.6.0 release, here's what I did so far (also attaching as a patch file):
As a follow on to this PR (#611), let's go the rest of the way to use the MCprepError structure as an Optional[] response for functions where relevant.
Something else that would be nice with this effort: making the lineno and file fields optional, if there's a decent way to grab them automatically when not specifying the function to construct the error (though if I understand how it works properly now, the simple way of doing this would mean the file and lineno would always be the same, so somehow still needs to inherit from the calling location).
Since I started this effort, but stopped in favor of the 3.6.0 release, here's what I did so far (also attaching as a patch file):
wip.patch
The text was updated successfully, but these errors were encountered: