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

Unlock when calling from_hdf for DataContainer #1416

Merged
merged 5 commits into from
Jun 6, 2024
Merged

Conversation

raynol-dsouza
Copy link
Contributor

Reloading a DataContainer object threw a warning that the object was locked when self.clear() was called in from_hdf.

Change 1: Run from_hdf while unlocked.

Change 2: Remove additional warning that the object is being unlocked.

@raynol-dsouza raynol-dsouza assigned pmrv and unassigned pmrv Apr 26, 2024
@raynol-dsouza raynol-dsouza requested a review from pmrv April 26, 2024 12:32
@jan-janssen jan-janssen marked this pull request as draft April 30, 2024 13:35
@pmrv pmrv marked this pull request as ready for review June 6, 2024 08:49
@pmrv
Copy link
Contributor

pmrv commented Jun 6, 2024

The unittest failure was because the original commit also removed some code that triggered the warning the test was locking for.

@pmrv pmrv merged commit 0d0ad64 into main Jun 6, 2024
25 checks passed
@pmrv pmrv deleted the unlock_datacontainer branch June 6, 2024 08:50
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.

None yet

2 participants