Skip to content
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

Add retry mechanism to deal with flaky KeyError #42

Merged
merged 1 commit into from
Feb 8, 2023
Merged

Add retry mechanism to deal with flaky KeyError #42

merged 1 commit into from
Feb 8, 2023

Conversation

finsberg
Copy link
Member

@finsberg finsberg commented Feb 8, 2023

I am unable to find out what causes this key error, but the problem is occuring when differentiation the expressions. The _xi_n variables are dummy variables introduced by sympy, see e.g sympy/sympy#13791

Retrying to initialise the component seems to work, so this is a possible fix.

Fix #24

@finsberg finsberg merged commit 8c14bcb into main Feb 8, 2023
@KGHustad
Copy link
Contributor

KGHustad commented Feb 8, 2023

I'm a bit confused. Didn't you apply this fix in #40?

@finsberg
Copy link
Member Author

finsberg commented Feb 8, 2023

I'm a bit confused. Didn't you apply this fix in #40?

Yes, we did. But it was merged into master and not main🙃

@KGHustad
Copy link
Contributor

KGHustad commented Feb 8, 2023

Ah, so are we not using master anymore?

@finsberg
Copy link
Member Author

finsberg commented Feb 8, 2023

Nope, main should be the default branch.

@finsberg
Copy link
Member Author

finsberg commented Feb 8, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flaky KeyError when loading ode
2 participants