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

Avoid pickling simulation_runners before complete initialisation #2

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

fjclark
Copy link
Collaborator

@fjclark fjclark commented Jul 4, 2024

This should close #1.

Description

Ensure that simulation_runner objects only get pickled once they've been fully initialised. This avoids issues where an error occurs during initialisation and the object is pickled in an incomplete state.

Status

  • Ready to go

Copy link

codecov bot commented Jul 4, 2024

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@fjclark fjclark merged commit 76916ef into main Jul 4, 2024
5 checks passed
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.

AttributeError: 'Calculation' object has no attribute 'setup_complete'
1 participant