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
I don't think this is a quick fix because this error occurs for binary lenses but not point lenses. Therefore, the implementation of methods is not universal, so needs to be rethought. This is related to the overall architecture problem with how we've implemented models and magnification methods. Branch refactor_models contains ideas about the overall issues, but these problems might also be addressed by changes proposed in Issue #75.
I agree that improving whole Model and MagnificationCurve architectures should solve this one, but I think we can add a test (if methods[index] is None:) and an error message without huge changes in most of the code.
Now the error is in line 423 of magnificationcurve.py.
The message should give some useful information.
The text was updated successfully, but these errors were encountered: