Skip to content

fix bug in _find_correlator #193

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

Merged
merged 1 commit into from
Jun 2, 2023
Merged

fix bug in _find_correlator #193

merged 1 commit into from
Jun 2, 2023

Conversation

fjosw
Copy link
Owner

@fjosw fjosw commented Jun 1, 2023

I just experimented with changing the ci to fail on warnings which caused the following error:

pytest -vv -Werror

...

FAILED tests/sfcf_in_test.py::test_find_corr - pytest.PytestUnraisableExceptionWarning: Exception ignored in: <_io.FileIO [closed]>

I was able to fix it by using a context manager in input.sfcf._find_correlator. Please have a look @jkuhl-uni and make sure that I did not break anything.

@fjosw fjosw merged commit e0e2686 into develop Jun 2, 2023
@fjosw fjosw deleted the fix/_find_correlator branch June 2, 2023 14:46
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.

1 participant